Creates the grids in the context of hybrid-dimensional coupled models, where the (n-1)-dimensional domains live on the element facets of the n-dimensional domains. More...
#include <dumux/multidomain/facet/gridmanager.hh>
Grids | the types of the grid hierarchy |
Public Types | |
template<std::size_t id> | |
using | Grid = typename std::tuple_element_t< id, std::tuple< Grids... > > |
export the i-th grid type | |
template<std::size_t id> | |
using | GridPtr = typename std::shared_ptr< Grid< id > > |
export the i-th grid pointer type | |
using | GridData = GridDataWrapper |
export the grid data (wrapper) type, i.e. parameters/markers | |
using | Embeddings = FacetCouplingEmbeddings< Grids... > |
export the type storing the embeddings | |
Public Member Functions | |
template<std::size_t id> | |
const Grid< id > & | grid () const |
returns the i-th grid | |
std::shared_ptr< const GridData > | getGridData () const |
return a pointer to the grid data object | |
std::shared_ptr< const Embeddings > | getEmbeddings () const |
return a pointer to the object containing embeddings | |
void | init (const std::string ¶mGroup="") |
creates the grids from a file given in parameter tree | |
void | loadBalance () |
Distributes the grid on all processes of a parallel computation. | |
Static Public Attributes | |
static constexpr std::size_t | numGrids = sizeof...(Grids) |
export the number of created grids | |
static constexpr int | bulkGridId = 0 |
export the grid id of the bulk grid (descending grid dim -> always zero!) | |
Protected Member Functions | |
template<std::size_t id> | |
Grid< id > & | grid_ () |
return non-const reference to i-th grid | |
std::shared_ptr< Embeddings > | getEmbeddings_ () |
return non-const pointer to the object containing embeddings | |
using Dumux::FacetCouplingGridManager< Grids >::Embeddings = FacetCouplingEmbeddings<Grids...> |
using Dumux::FacetCouplingGridManager< Grids >::Grid = typename std::tuple_element_t<id, std::tuple<Grids...> > |
using Dumux::FacetCouplingGridManager< Grids >::GridData = GridDataWrapper |
using Dumux::FacetCouplingGridManager< Grids >::GridPtr = typename std::shared_ptr< Grid<id> > |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |