A multidomain wrapper for multiple problems. More...
#include <dumux/multidomain/fvproblem.hh>
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 (MultiDomainFVGridGeometry< MDTraits > gridGeometries) | |
Construct the problem. More... | |
MultiDomainFVProblem (TupleType problemTuple) | |
Construct wrapper from a tuple of problems. 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> | |
const PtrType< i > & | get (Dune::index_constant< i > id=Dune::index_constant< i >{}) const |
access the problem ptr for domain with index i More... | |
template<std::size_t i> | |
PtrType< i > & | get (Dune::index_constant< i > id=Dune::index_constant< i >{}) |
access the problem ptr for domain with index i More... | |
TupleType & | asTuple () |
Access the underlying tuple representation. More... | |
const TupleType & | asTuple () const |
Access the underlying tuple representation. More... | |
using Dumux::MultiDomainFVProblem< MDTraits >::PtrType = std::shared_ptr<Type<i> > |
using Dumux::MultiDomainFVProblem< MDTraits >::TupleType = typename MDTraits::template Tuple<PtrType> |
using Dumux::MultiDomainFVProblem< MDTraits >::Type = typename MDTraits::template SubDomain<i>::Problem |
|
inline |
gridGeometries | a tuple of grid geometry shared pointers |
|
inline |
problemTuple | a tuple of shared_ptrs to the problems |
|
inline |
sol | the initial solution vector |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |