the default mapper for conforming equal dimension boundary coupling between two domains (box or cc)
More...
#include <dumux/multidomain/boundary/darcydarcy/couplingmapper.hh>
template<class MDTraits>
class Dumux::DarcyDarcyBoundaryCouplingMapper< MDTraits >
the default mapper for conforming equal dimension boundary coupling between two domains (box or cc)
- Todo:
- how to extend to arbitrary number of domains?
|
template<class CouplingManager > |
void | update (const CouplingManager &couplingManager) |
| Main update routine. More...
|
|
template<std::size_t i, std::size_t j> |
const std::vector< std::size_t > & | couplingStencil (Dune::index_constant< i > domainI, const std::size_t eIdxI, Dune::index_constant< j > domainJ) const |
| returns an iteratable container of all indices of degrees of freedom of domain j that couple with / influence the element residual of the given element of domain i More...
|
|
template<std::size_t i> |
bool | isCoupledElement (Dune::index_constant< i >, std::size_t eIdx) const |
| Return if an element residual with index eIdx of domain i is coupled to domain j. More...
|
|
template<std::size_t i> |
bool | isCoupled (Dune::index_constant< i > domainI, const SubControlVolumeFace< i > &scvf) const |
| If the boundary entity is on a coupling boundary. More...
|
|
template<std::size_t i> |
std::size_t | flipScvfIndex (Dune::index_constant< i > domainI, const SubControlVolumeFace< i > &scvf) const |
| Return the scvf index of the flipped scvf in the other domain. More...
|
|
template<std::size_t i> |
std::size_t | outsideElementIndex (Dune::index_constant< i > domainI, const SubControlVolumeFace< i > &scvf) const |
| Return the outside element index (the element index of the other domain) More...
|
|
◆ couplingStencil()
template<class MDTraits >
template<std::size_t i, std::size_t j>
const std::vector< std::size_t > & Dumux::DarcyDarcyBoundaryCouplingMapper< MDTraits >::couplingStencil |
( |
Dune::index_constant< i > |
domainI, |
|
|
const std::size_t |
eIdxI, |
|
|
Dune::index_constant< j > |
domainJ |
|
) |
| const |
|
inline |
returns an iteratable container of all indices of degrees of freedom of domain j that couple with / influence the element residual of the given element of domain i
- Parameters
-
domainI | the domain index of domain i |
eIdxI | the index of the coupled element of domain í |
domainJ | the domain index of domain j |
- Note
- The element residual definition depends on the discretization scheme of domain i box: a container of the residuals of all sub control volumes cc : the residual of the (sub) control volume fem: the residual of the element
-
This function has to be implemented by all coupling managers for all combinations of i and j
◆ flipScvfIndex()
template<class MDTraits >
template<std::size_t i>
Return the scvf index of the flipped scvf in the other domain.
- Parameters
-
domainI | the domain index for which to compute the flux |
scvf | the sub control volume face |
◆ isCoupled()
template<class MDTraits >
template<std::size_t i>
If the boundary entity is on a coupling boundary.
- Parameters
-
domainI | the domain index for which to compute the flux |
scvf | the sub control volume face |
◆ isCoupledElement()
template<class MDTraits >
template<std::size_t i>
Return if an element residual with index eIdx of domain i is coupled to domain j.
◆ outsideElementIndex()
template<class MDTraits >
template<std::size_t i>
Return the outside element index (the element index of the other domain)
- Parameters
-
domainI | the domain index for which to compute the flux |
scvf | the sub control volume face |
◆ update()
template<class MDTraits >
The documentation for this class was generated from the following file: