IBHM - Index Based Hybrid Meshes
IBHM
Developed by:
JP Moitinho de Almeida (moitinho@civil.ist.utl.pt) - Instituto Superior Técnico - Universidade de Lisboa (https://tecnico.ulisboa.pt/en/)
Luiz Fernando Martha (lfm@tecgraf.puc-rio.br) - Pontifícia Universidade Católica do Rio de Janeiro - PUC-Rio (www.puc-rio.br)
These classes build matlab objects with topological data structures for the representation of 2D and 3D hybrid meshes, i.e., meshes composed of elements of different types.
These classes allow for a simple and efficient implementation of topological queries.
Quick start:
For che, the 2D data structure
* If using the gmsh interface, copy che.m and che_gmsh.m to your working directory and execute
m = che_gmsh();
m.load('yourfile.msh'); % a sample 'Simple.msh' is provided
% you can now access the adjacency information, for example of vertex 5
[faces, edges] = m.get_ce_v(5);
* A "bare" implementation is also available in che_test.m, with a test call in run_che_test.m
For chf, the 3D data structure
* If using the gmsh interface, copy chf.m, chf_cell.m and che_gmsh.m to your working directory and execute
m = chf_gmsh();
m.load('yourfile.msh'); % a sample 'Tap1.msh' is provided
% you can now access the adjacency information, for example of vertex 5
[cells, faces, edges] = m.get_cfe_v(5);
* A "bare" implementation is also available in chf_test.m, with several test calls in run_chf_*.m
GitLab repository:
* Available at https://gitlab.com/lfmartha/ibhm.
Wiki:
* Check the [wiki](https://gitlab.com/lfmartha/ibhm/wikis/home) for more details.
Matlab documentation:
* The documentation, as published in matlab, is available in folders che/doc and chf/doc.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.