Reads gmsh files where (n-1)-dimensional grids are defined on the faces or edges of n-dimensional grids.
More...
template<class BulkGrid, int numGrids>
class Dumux::FacetCouplingGmshReader< BulkGrid, numGrids >
Reads gmsh files where (n-1)-dimensional grids are defined on the faces or edges of n-dimensional grids.
- Note
- Lower-dimensional entities appearing in the grid file are interpreted either as parts of a lower-dimensional grid living on the sub-entities of the grids with higher dimension, or as boundary segments. Per default, we consider all entities as part of the lower-dimensional grids. If you want to specify boundary segments as well, provide a threshold physical entity index. All entities with physical entity indices below this threshold will then be interpreted as boundary segments. Use respective physical entity indexing in your grid file in that case.
- Template Parameters
-
BulkGrid | The type of the highest-dimensional grid in the hierachy |
numGrids | The number of grids to be considered in the hierarchy |
|
void | read (const std::string &fileName, bool verbose=false) |
|
void | read (const std::string &fileName, std::size_t boundarySegThresh, bool verbose=false) |
| Reads the data from a given mesh file. More...
|
|
const std::vector< GlobalPosition > & | gridVertices () const |
| Returns the vector with all grid vertices (entire hierarchy) More...
|
|
VertexIndexSet & | vertexIndices (std::size_t id) |
| Returns a grid's vertex indices. More...
|
|
const std::vector< ElementData > & | elementData (std::size_t id) const |
| Returns the vector of read elements for a grid. More...
|
|
const std::vector< VertexIndexSet > & | boundarySegmentData (std::size_t id) const |
| Returns the vector of read elements for a grid. More...
|
|
std::vector< int > & | elementMarkerMap (std::size_t id) |
| Returns the maps of element markers. More...
|
|
std::vector< int > & | boundaryMarkerMap (std::size_t id) |
| Returns the maps of domain markers. More...
|
|
std::unordered_map< GridIndexType, std::vector< GridIndexType > > & | embeddedEntityMap (std::size_t id) |
| Returns the maps of the embedded entities. More...
|
|
std::unordered_map< GridIndexType, std::vector< GridIndexType > > & | adjoinedEntityMap (std::size_t id) |
| Returns the maps of the embedments. More...
|
|