DUNE PDELab (2.8)
Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters > Struct Template Reference
#include <dune/pdelab/constraints/common/constraintsparameters.hh>
Public Types | |
typedef LeafNodeTag | NodeTag |
The type tag that describes a LeafNode. | |
Public Member Functions | |
template<typename I > | |
bool | isDirichlet (const I &intersection, const FieldVector< typename I::ctype, I::mydimension > &coord) const |
template<typename I > | |
bool | isNeumann (const I &intersection, const FieldVector< typename I::ctype, I::mydimension > &coord) const |
template<typename T > | |
void | setTime (const T &time) |
Static Public Attributes | |
static const bool | isLeaf = true |
Mark this class as a leaf in a dune-typetree. | |
static const bool | isPower = false |
Mark this class as a non power in the dune-typetree. | |
static const bool | isComposite = false |
Mark this class as a non composite in the dune-typetree. | |
static const std::size_t | CHILDREN = 0 |
Leafs have no children. | |
Detailed Description
template<typename DirichletConstraintsParameters>
struct Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >
struct Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >
Adapter class that deduces Neumann constraints from a model of DirichletConstraintsParameters by applying the standard logic that every location on the boundary is either Neumann or Dirichlet constrained.
- Warning
- This adapter will only work for the standard case of \(\partial \Omega = \Gamma_D \cup \Gamma_N\). Do not try to use it for more advanced problems such as flow with flux, outflow and Dirichlet constraints!
- Template Parameters
-
DirichletConstraintsParameters The type of the underlying Dirichlet constraints parameters implementation.
Member Function Documentation
◆ isDirichlet()
template<typename DirichletConstraintsParameters >
template<typename I >
|
inline |
Forwards to the underlying DirichletConstraintsParameters implementation.
References Dune::PDELab::DirichletConstraintsParameters::isDirichlet().
◆ isNeumann()
template<typename DirichletConstraintsParameters >
template<typename I >
|
inline |
Returns the opposite of isDirichlet().
References Dune::PDELab::DirichletConstraintsParameters::isDirichlet().
◆ setTime()
template<typename DirichletConstraintsParameters >
template<typename T >
|
inline |
Forwards the new time to the underlying DirichletConstraintsParameters object.
References Dune::PDELab::DirichletConstraintsParameters::setTime().
The documentation for this struct was generated from the following file:
- dune/pdelab/constraints/common/constraintsparameters.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)