Dune::Copasi
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Dune::Copasi::BoundaryEntityMapper< GridView > Class Template Reference

Mapper of boundary entities. More...

#include <boundary_entity_mapper.hh>

Public Member Functions

 BoundaryEntityMapper (GridView grid_view)
 
bool isBoundary (const auto &entity, auto local_index, auto codim) const
 Whether a sub-entity is in the boundary of the grid view.
 

Public Attributes

MultipleCodimMultipleGeomTypeMapper< GridView > _mapper
 
std::vector< bool_boundary
 

Detailed Description

template<Dune::Concept::GridView GridView>
class Dune::Copasi::BoundaryEntityMapper< GridView >

Mapper of boundary entities.

Builds a map of entities with codim!=0 that are in the boundary. This is helful to avoid referring to the same entities accessing sub-entities of an intersection.

Template Parameters
GridViewThe grid view to create the map from

Constructor & Destructor Documentation

◆ BoundaryEntityMapper()

template<Dune::Concept::GridView GridView>
Dune::Copasi::BoundaryEntityMapper< GridView >::BoundaryEntityMapper ( GridView grid_view)
inline

Member Function Documentation

◆ isBoundary()

template<Dune::Concept::GridView GridView>
bool Dune::Copasi::BoundaryEntityMapper< GridView >::isBoundary ( const auto & entity,
auto local_index,
auto codim ) const
inline

Whether a sub-entity is in the boundary of the grid view.

Member Data Documentation

◆ _boundary

template<Dune::Concept::GridView GridView>
std::vector<bool> Dune::Copasi::BoundaryEntityMapper< GridView >::_boundary

◆ _mapper

template<Dune::Concept::GridView GridView>
MultipleCodimMultipleGeomTypeMapper<GridView> Dune::Copasi::BoundaryEntityMapper< GridView >::_mapper

The documentation for this class was generated from the following file: