Base class for the finite volume geometry vector for box schemes in the context of coupled models where the coupling occurs across the element facets. This builds up the sub control volumes and sub control volume faces.
More...
template<class Scalar, class GV, class Traits>
class Dumux::BoxFacetCouplingFVGridGeometry< Scalar, GV, true, Traits >
- Note
- This class is specialized for versions with and without caching the fv geometries on the grid view
|
template<class FacetGridView , class CodimOneGridAdapter > |
| BoxFacetCouplingFVGridGeometry (const GridView &gridView, const FacetGridView &facetGridView, const CodimOneGridAdapter &codimOneGridAdapter, bool verbose=false) |
| Constructor. More...
|
|
const DofMapper & | dofMapper () const |
| the vertex mapper is the dofMapper More...
|
|
std::size_t | numScv () const |
| The total number of sub control volumes. More...
|
|
std::size_t | numScvf () const |
| The total number of sun control volume faces. More...
|
|
std::size_t | numBoundaryScvf () const |
|
std::size_t | numDofs () const |
| The total number of degrees of freedom. More...
|
|
template<class FacetGridView , class CodimOneGridAdapter > |
void | update (const GridView &gridView, const FacetGridView &facetGridView, const CodimOneGridAdapter &codimOneGridAdapter, bool verbose=false) |
| update all fvElementGeometries (call this after grid adaption) More...
|
|
template<class FacetGridView , class CodimOneGridAdapter > |
void | update (GridView &&gridView, const FacetGridView &facetGridView, const CodimOneGridAdapter &codimOneGridAdapter, bool verbose=false) |
| update all fvElementGeometries (call this after grid adaption) More...
|
|
const FeCache & | feCache () const |
| The finite element cache for creating local FE bases. More...
|
|
const std::vector< SubControlVolume > & | scvs (GridIndexType eIdx) const |
| Get the local scvs for an element. More...
|
|
const std::vector< SubControlVolumeFace > & | scvfs (GridIndexType eIdx) const |
| Get the local scvfs for an element. More...
|
|
bool | dofOnBoundary (GridIndexType dofIdx) const |
| If a d.o.f. is on the boundary. More...
|
|
bool | dofOnInteriorBoundary (GridIndexType dofIdx) const |
| If a d.o.f. is on an interior boundary. More...
|
|
bool | dofOnPeriodicBoundary (GridIndexType dofIdx) const |
| Periodic boundaries are not supported for the box facet coupling scheme. More...
|
|
GridIndexType | periodicallyMappedDof (GridIndexType dofIdx) const |
| The index of the vertex / d.o.f. on the other side of the periodic boundary. More...
|
|
std::unordered_map< GridIndexType, GridIndexType > | periodicVertexMap () const |
| Returns the map between dofs across periodic boundaries. More...
|
|
void | update (const GridView &gridView) |
| Update all fvElementGeometries (call this after grid adaption) More...
|
|
void | update (GridView &&gridView) |
| Update all fvElementGeometries (call this after grid adaption) More...
|
|
const GridView & | gridView () const |
| Return the gridView this grid geometry object lives on. More...
|
|
const VertexMapper & | vertexMapper () const |
| Returns the mapper for vertices to indices for constant grids. More...
|
|
VertexMapper & | vertexMapper () |
| Returns the mapper for vertices to indices for possibly adaptive grids. More...
|
|
const ElementMapper & | elementMapper () const |
| Returns the mapper for elements to indices for constant grids. More...
|
|
ElementMapper & | elementMapper () |
| Returns the mapper for elements to indices for possibly adaptive grids. More...
|
|
decltype(auto) | boundingBoxTree () const |
| Returns the bounding box tree of the grid. More...
|
|
decltype(auto) | elementMap () const |
| Returns the element index to element map. More...
|
|
Element | element (GridIndexType eIdx) const |
| Get an element from a global element index. More...
|
|
const GlobalCoordinate & | bBoxMin () const |
| The coordinate of the corner of the GridView's bounding box with the smallest values. More...
|
|
const GlobalCoordinate & | bBoxMax () const |
| The coordinate of the corner of the GridView's bounding box with the largest values. More...
|
|
bool | isPeriodic () const |
| Returns if the grid geometry is periodic (at all) More...
|
|