Reads gmsh files where (n-1)-dimensional grids are defined on the faces or edges of n-dimensional grids.
More...
#include <dumux/multidomain/facet/gmshreader.hh>
template<class BulkGrid, int numGrids>
class Dumux::FacetCouplingGmshReader< BulkGrid, numGrids >
- 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 hierarchy |
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...
|
|
◆ adjoinedEntityMap()
template<class BulkGrid , int numGrids>
std::unordered_map< GridIndexType, std::vector< GridIndexType > > & Dumux::FacetCouplingGmshReader< BulkGrid, numGrids >::adjoinedEntityMap |
( |
std::size_t |
id | ) |
|
|
inline |
◆ boundaryMarkerMap()
template<class BulkGrid , int numGrids>
◆ boundarySegmentData()
template<class BulkGrid , int numGrids>
◆ elementData()
template<class BulkGrid , int numGrids>
◆ elementMarkerMap()
template<class BulkGrid , int numGrids>
◆ embeddedEntityMap()
template<class BulkGrid , int numGrids>
std::unordered_map< GridIndexType, std::vector< GridIndexType > > & Dumux::FacetCouplingGmshReader< BulkGrid, numGrids >::embeddedEntityMap |
( |
std::size_t |
id | ) |
|
|
inline |
◆ gridVertices()
template<class BulkGrid , int numGrids>
◆ read() [1/2]
template<class BulkGrid , int numGrids>
Reads the data from a given mesh file Use this routine if you don't specify boundary segments in the grid file
◆ read() [2/2]
template<class BulkGrid , int numGrids>
◆ vertexIndices()
template<class BulkGrid , int numGrids>
The documentation for this class was generated from the following file: