Specialization of the mapper class for the case of three domains with the grid dimensions d, (d-1) & (d-2). More...
#include <dumux/multidomain/facet/couplingmapper.hh>
Specialization of the mapper class for the case of three domains with the grid dimensions d, (d-1) & (d-2).
BulkFVG | The d-dimensional finite-volume grid geometry |
FacetFVG | The (d-1)-dimensional finite-volume grid geometry |
EdgeFVG | The (d-2)-dimensional finite-volume grid geometry |
bulkId | The index of the bulk grid within the hierarchy of grids |
facetId | The index of the facet grid within the hierarchy of grids |
edgeId | The index of the edge grid within the hierarchy of grids |
Public Types | |
template<std::size_t i> | |
using | Stencil = typename std::conditional<(i==edgeId), typename FacetEdgeMapper::template Stencil< i >, typename BulkFacetMapper::template Stencil< i > >::type |
Export the coupling stencil type for the provided domain index. More... | |
template<std::size_t i, std::size_t j> | |
using | CouplingMap = typename std::conditional<(i !=edgeId &&j !=edgeId), typename BulkFacetMapper::template CouplingMap< i, j >, typename FacetEdgeMapper::template CouplingMap< i, j > >::type |
Export the coupling map type for the provided domain indices. More... | |
Public Member Functions | |
template<class Embeddings > | |
void | update (const BulkFVG &bulkFvGridGeometry, const FacetFVG &facetFvGridGeometry, const EdgeFVG &edgeFvGridGeometry, std::shared_ptr< const Embeddings > embeddings) |
Update coupling maps. More... | |
Static Public Member Functions | |
template<int dim> | |
static constexpr GridIdType<(dim==bulkDim ? bulkId :(dim==facetDim ? facetId :edgeId)) > | gridId () |
Allow retrievment of grid id for a given grid dimension. More... | |
Static Public Attributes | |
static constexpr auto | bulkGridId = Dune::index_constant< bulkId >() |
export domain ids More... | |
static constexpr auto | facetGridId = Dune::index_constant< facetId >() |
static constexpr auto | edgeGridId = Dune::index_constant< edgeId >() |
using Dumux::FacetCouplingThreeDomainMapper< BulkFVG, FacetFVG, EdgeFVG, bulkId, facetId, edgeId >::CouplingMap = typename std::conditional< (i != edgeId && j != edgeId), typename BulkFacetMapper::template CouplingMap<i,j>, typename FacetEdgeMapper::template CouplingMap<i,j> >::type |
Export the coupling map type for the provided domain indices.
using Dumux::FacetCouplingThreeDomainMapper< BulkFVG, FacetFVG, EdgeFVG, bulkId, facetId, edgeId >::Stencil = typename std::conditional< (i == edgeId), typename FacetEdgeMapper::template Stencil<i>, typename BulkFacetMapper::template Stencil<i> >::type |
Export the coupling stencil type for the provided domain index.
|
inlinestaticconstexpr |
Allow retrievment of grid id for a given grid dimension.
|
inline |
Update coupling maps.
bulkFvGridGeometry | The finite-volume grid geometry of the bulk grid |
facetFvGridGeometry | The finite-volume grid geometry of the codimension-one grid |
edgeFvGridGeometry | The finite-volume grid geometry of the codimension-two grid |
embeddings | Class that contains the embedments among the grids and entity insertion indices |
|
staticconstexpr |
export domain ids
|
staticconstexpr |
|
staticconstexpr |