A multidomain wrapper for multiple problems. More...
#include <dumux/multidomain/fvproblem.hh>
A multidomain wrapper for multiple problems.
MDTraits | The multidomain traits |
Public Types | |
template<std::size_t i> | |
using | Type = typename MDTraits::template SubDomain< i >::Problem |
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 | |
MultiDomainFVProblem ()=default | |
The default constructor. More... | |
MultiDomainFVProblem (GridGeometries &&gridGeometries) | |
Contruct the problem. More... | |
void | applyInitialSolution (SolutionVector &sol) const |
Applies the initial solution for all degrees of freedom of the grid. More... | |
template<std::size_t i> | |
const Type< i > & | operator[] (Dune::index_constant< i > id) const |
return the problem for domain with index i More... | |
template<std::size_t i> | |
Type< i > & | operator[] (Dune::index_constant< i > id) |
return the problem 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 problem 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::MultiDomainFVProblem< MDTraits >::PtrType = std::shared_ptr<Type<i> > |
export pointer types the stored type
using Dumux::MultiDomainFVProblem< MDTraits >::TupleType = typename MDTraits::template Tuple<PtrType> |
export type of tuple of pointers
using Dumux::MultiDomainFVProblem< MDTraits >::Type = typename MDTraits::template SubDomain<i>::Problem |
export base types of the stored type
|
default |
The default constructor.
|
inline |
Contruct the problem.
gridGeometries | a tuple of grid geometry shared pointers |
|
inline |
Applies the initial solution for all degrees of freedom of the grid.
sol | the initial solution vector |
|
inline |
return the problem for domain with index i
|
inline |
return the grid variables tuple we are wrapping
|
inline |
return the problem for domain with index i
|
inline |
return the problem for domain with index i
|
inline |
set the pointer for sub domain i