3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
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 >

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

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 bounday 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> >

export the i-th grid data type

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

Returns the boundary marker of an intersection.

◆ getBoundaryDomainMarker() [2/2]

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

Returns the boundary marker for a given bounday segment index.

◆ 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

Returns domain marker of an element.

◆ getSubDomainGridData()

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

return the grid data for a specific grid

◆ setGridData()

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

set the grid data object for the i-th grid

◆ wasInserted()

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

Returns true if an intersection was inserted during grid creation.


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