A multidomain wrapper for multiple grid geometries. More...
#include <dumux/multidomain/fvgridgeometry.hh>
A multidomain wrapper for multiple grid geometries.
| MDTraits | The multidomain traits |
Public Types | |
| template<std::size_t i> | |
| using | Type = typename MDTraits::template SubDomain< i >::GridGeometry |
| export base types of the stored type More... | |
| template<std::size_t i> | |
| using | PtrType = std::shared_ptr< Type< i > > |
| export pointer types the stored type More... | |
| using | TupleType = typename MDTraits::template Tuple< PtrType > |
| export type of tuple of pointers More... | |
Public Member Functions | |
| MultiDomainFVGridGeometry ()=default | |
| The default constructor. More... | |
| template<class GridViews > | |
| MultiDomainFVGridGeometry (GridViews &&gridViews) | |
| Contruct the problem. More... | |
| void | update () |
| Update all grid geometries (do this again after grid adaption) More... | |
| template<std::size_t i> | |
| const Type< i > & | operator[] (Dune::index_constant< i > id) const |
| return the grid geometry for domain with index i More... | |
| template<std::size_t i> | |
| Type< i > & | operator[] (Dune::index_constant< i > id) |
| return the grid geometry for domain with index i More... | |
| template<std::size_t i> | |
| PtrType< i > | get (Dune::index_constant< i > id=Dune::index_constant< i >{}) |
| ! return the grid geometry pointer for domain with index i More... | |
| template<std::size_t i> | |
| void | set (PtrType< i > p, Dune::index_constant< i > id=Dune::index_constant< i >{}) |
| set the pointer for sub domain i More... | |
| TupleType | getTuple () |
| return the grid variables tuple we are wrapping More... | |
| using Dumux::MultiDomainFVGridGeometry< MDTraits >::PtrType = std::shared_ptr<Type<i> > |
export pointer types the stored type
| using Dumux::MultiDomainFVGridGeometry< MDTraits >::TupleType = typename MDTraits::template Tuple<PtrType> |
export type of tuple of pointers
| using Dumux::MultiDomainFVGridGeometry< MDTraits >::Type = typename MDTraits::template SubDomain<i>::GridGeometry |
export base types of the stored type
|
default |
The default constructor.
|
inline |
Contruct the problem.
| gridViews | a tuple of gridViews |
|
inline |
! return the grid geometry pointer for domain with index i
|
inline |
return the grid variables tuple we are wrapping
|
inline |
return the grid geometry for domain with index i
|
inline |
return the grid geometry for domain with index i
|
inline |
set the pointer for sub domain i
|
inline |
Update all grid geometries (do this again after grid adaption)