version 3.10-dev
Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId > Class Template Reference

Subdomain-specific view on a multidomain assembler. Allows retrieval of sub-domain specific objects w/o passing a domain id. More...

#include <dumux/multidomain/assemblerview.hh>

Description

template<typename MDAssembler, std::size_t domainId>
class Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >

Public Types

using CouplingManager = typename MDAssembler::CouplingManager
 
using SolutionVector = typename MDAssembler::SolutionVector
 

Public Member Functions

 MultiDomainAssemblerSubDomainView (MDAssembler &assembler, Dune::index_constant< domainId >)
 
template<std::size_t i>
auto localResidual (Dune::index_constant< i > id) const
 
auto localResidual () const
 
template<std::size_t i>
const auto & problem (Dune::index_constant< i > id) const
 
const auto & problem () const
 
template<std::size_t i>
const auto & gridGeometry (Dune::index_constant< i > id) const
 
const auto & gridGeometry () const
 
template<std::size_t i>
const auto & gridVariables (Dune::index_constant< i > id) const
 
const auto & gridVariables () const
 
const auto & prevSol () const
 
bool isStationaryProblem () const
 
template<class A = MDAssembler, typename std::enable_if_t<!hasStaticIsImplicit< A >, int > = 0>
bool isImplicit () const
 

Static Public Member Functions

template<class A = MDAssembler, typename std::enable_if_t< hasStaticIsImplicit< A >, int > = 0>
static constexpr bool isImplicit ()
 

Member Typedef Documentation

◆ CouplingManager

template<typename MDAssembler , std::size_t domainId>
using Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::CouplingManager = typename MDAssembler::CouplingManager

◆ SolutionVector

template<typename MDAssembler , std::size_t domainId>
using Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::SolutionVector = typename MDAssembler::SolutionVector

Constructor & Destructor Documentation

◆ MultiDomainAssemblerSubDomainView()

template<typename MDAssembler , std::size_t domainId>
Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::MultiDomainAssemblerSubDomainView ( MDAssembler &  assembler,
Dune::index_constant< domainId >   
)
inline

Member Function Documentation

◆ gridGeometry() [1/2]

template<typename MDAssembler , std::size_t domainId>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::gridGeometry ( ) const
inline

◆ gridGeometry() [2/2]

template<typename MDAssembler , std::size_t domainId>
template<std::size_t i>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::gridGeometry ( Dune::index_constant< i >  id) const
inline

◆ gridVariables() [1/2]

template<typename MDAssembler , std::size_t domainId>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::gridVariables ( ) const
inline

◆ gridVariables() [2/2]

template<typename MDAssembler , std::size_t domainId>
template<std::size_t i>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::gridVariables ( Dune::index_constant< i >  id) const
inline

◆ isImplicit() [1/2]

template<typename MDAssembler , std::size_t domainId>
template<class A = MDAssembler, typename std::enable_if_t< hasStaticIsImplicit< A >, int > = 0>
static constexpr bool Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::isImplicit ( )
inlinestaticconstexpr

◆ isImplicit() [2/2]

template<typename MDAssembler , std::size_t domainId>
template<class A = MDAssembler, typename std::enable_if_t<!hasStaticIsImplicit< A >, int > = 0>
bool Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::isImplicit ( ) const
inline

◆ isStationaryProblem()

template<typename MDAssembler , std::size_t domainId>
bool Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::isStationaryProblem ( ) const
inline

◆ localResidual() [1/2]

template<typename MDAssembler , std::size_t domainId>
auto Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::localResidual ( ) const
inline

◆ localResidual() [2/2]

template<typename MDAssembler , std::size_t domainId>
template<std::size_t i>
auto Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::localResidual ( Dune::index_constant< i >  id) const
inline

◆ prevSol()

template<typename MDAssembler , std::size_t domainId>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::prevSol ( ) const
inline

◆ problem() [1/2]

template<typename MDAssembler , std::size_t domainId>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::problem ( ) const
inline

◆ problem() [2/2]

template<typename MDAssembler , std::size_t domainId>
template<std::size_t i>
const auto & Dumux::MultiDomainAssemblerSubDomainView< MDAssembler, domainId >::problem ( Dune::index_constant< i >  id) const
inline

The documentation for this class was generated from the following file: