version 3.9-dev
Dumux::FacetCouplingGridDataWrapper< Grids > Class Template Reference

Grid data object to store element and boundary segment markers for all grids of the hierarchy. More...

#include <dumux/multidomain/facet/gridmanager.hh>

Description

template<typename... Grids>
class Dumux::FacetCouplingGridDataWrapper< Grids >
Template Parameters
Gridsthe types of the grid hierarchy
Note
Grids must be ordered in descending grid dimension

Public Types

template<std::size_t id>
using GridData = GridData< Grid< id > >
 export the i-th grid data type More...
 

Public Member Functions

template<std::size_t id>
void setGridData (GridData< id > &&gridData)
 set the grid data object for the i-th grid More...
 
template<std::size_t id>
std::shared_ptr< const GridData< id > > getSubDomainGridData () const
 return the grid data for a specific grid More...
 
template<std::size_t id>
int getElementDomainMarker (const typename Grid< id >::template Codim< 0 >::Entity &element) const
 Returns domain marker of an element. More...
 
template<std::size_t id>
int getBoundaryDomainMarker (const typename Grid< id >::LeafGridView::Intersection &is) const
 Returns the boundary marker of an intersection. More...
 
template<std::size_t id>
int getBoundaryDomainMarker (int boundarySegmentIndex) const
 Returns the boundary marker for a given boundary segment index. More...
 
template<std::size_t id>
bool wasInserted (const Intersection< id > &intersection) const
 Returns true if an intersection was inserted during grid creation. More...
 

Member Typedef Documentation

◆ GridData

template<typename... Grids>
template<std::size_t id>
using Dumux::FacetCouplingGridDataWrapper< Grids >::GridData = GridData<Grid<id> >

Member Function Documentation

◆ getBoundaryDomainMarker() [1/2]

template<typename... Grids>
template<std::size_t id>
int Dumux::FacetCouplingGridDataWrapper< Grids >::getBoundaryDomainMarker ( const typename Grid< id >::LeafGridView::Intersection &  is) const
inline

◆ getBoundaryDomainMarker() [2/2]

template<typename... Grids>
template<std::size_t id>
int Dumux::FacetCouplingGridDataWrapper< Grids >::getBoundaryDomainMarker ( int  boundarySegmentIndex) const
inline

◆ getElementDomainMarker()

template<typename... Grids>
template<std::size_t id>
int Dumux::FacetCouplingGridDataWrapper< Grids >::getElementDomainMarker ( const typename Grid< id >::template Codim< 0 >::Entity &  element) const
inline

◆ getSubDomainGridData()

template<typename... Grids>
template<std::size_t id>
std::shared_ptr< const GridData< id > > Dumux::FacetCouplingGridDataWrapper< Grids >::getSubDomainGridData ( ) const
inline

◆ setGridData()

template<typename... Grids>
template<std::size_t id>
void Dumux::FacetCouplingGridDataWrapper< Grids >::setGridData ( GridData< id > &&  gridData)
inline

◆ wasInserted()

template<typename... Grids>
template<std::size_t id>
bool Dumux::FacetCouplingGridDataWrapper< Grids >::wasInserted ( const Intersection< id > &  intersection) const
inline

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