Class for grid data attached to dgf or gmsh grid files.
|
| GridData (std::shared_ptr< Grid > grid, std::shared_ptr< Dune::GridFactory< Grid > > factory, std::vector< int > &&elementMarkers, std::vector< int > &&boundaryMarkers, std::vector< int > &&faceMarkers=std::vector< int >{}) |
| constructor for gmsh grid data More...
|
|
| GridData (Dune::GridPtr< Grid > grid) |
| constructor for dgf grid data More...
|
|
| GridData (std::shared_ptr< Grid > grid, std::shared_ptr< Dune::GridFactory< Grid > > factory, VTKReader::Data &&cellData, VTKReader::Data &&pointData) |
| constructor for VTK grid data More...
|
|
|
const std::vector< double > & | parameters (const Vertex &vertex) const |
| Call the parameters function of the DGF grid pointer if available for vertex data. More...
|
|
const std::vector< double > & | parameters (const Element &element) const |
| Call the parameters function of the DGF grid pointer if available for element data. More...
|
|
template<class GridImp , class IntersectionImp > |
const Dune::DGFBoundaryParameter::type & | parameters (const Dune::Intersection< GridImp, IntersectionImp > &intersection) const |
| Call the parameters function of the DGF grid pointer if available. More...
|
|
|
int | getBoundaryDomainMarker (int boundarySegmentIndex) const |
| Return the boundary domain marker (Gmsh physical entity number) of an intersection Only available when using Gmsh with GridParameterGroup.DomainMarkers = 1. More...
|
|
int | getBoundaryDomainMarker (const Intersection &intersection) const |
| Return the boundary domain marker (Gmsh physical entity number) of an intersection Only available when using Gmsh with GridParameterGroup.DomainMarkers = 1. More...
|
|
bool | wasInserted (const Intersection &intersection) const |
| Returns true if an intersection was inserted during grid creation. More...
|
|
int | getElementDomainMarker (const Element &element) const |
| Return the element domain marker (Gmsh physical entity number) of an element. Only available when using Gmsh with GridParameterGroup.DomainMarkers = 1. More...
|
|
template<bool ug = Detail::isUG<Grid>::value, typename std::enable_if_t<!ug, int > = 0> |
GmshDataHandle | createGmshDataHandle () |
| Create a data handle for communication of the data in parallel simulations. More...
|
|
template<bool ug = Detail::isUG<Grid>::value, typename std::enable_if_t< ug, int > = 0> |
GmshDataHandle | createGmshDataHandle () |
| Create a data handle for communication of the data in parallel simulations. More...
|
|
|
double | getParameter (const Element &element, const std::string &fieldName) const |
| Get an element parameter. More...
|
|
template<class T , std::size_t size> |
std::array< T, size > | getArrayParameter (const Element &element, const std::string &fieldName) const |
| Get an element parameter that is an array. More...
|
|
double | getParameter (const Vertex &vertex, const std::string &fieldName) const |
| Call the parameters function of the DGF grid pointer if available for vertex data. More...
|
|
template<class T , std::size_t size> |
std::array< T, size > | getArrayParameter (const Vertex &vertex, const std::string &fieldName) const |
| Call the parameters function of the DGF grid pointer if available for vertex data. More...
|
|
VtkDataHandle | createVtkDataHandle () |
| Create a data handle for communication of the data in parallel simulations. More...
|
|