DUNE PDELab (2.8)
Dune::PDELab::FluxConstraintsParameters Struct 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 | 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
Interface for the constraints parameters describing flux (Neumann) constraints.
- Note
- This class not only describes the required interface of the parameter class, but can also be used as a convenient standard implementation that will add Neumann constraints to all locations it is queried about.
Member Function Documentation
◆ isNeumann()
template<typename I >
|
inline |
Indicates whether the given position should be Neumann-constrained.
- Parameters
-
intersection The grid intersection containing the queried location. coord The position of the queried location in local coordinates of the intersection.
- Returns
- true iff the given location should have a Neumann constraint.
Referenced by Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::isDirichlet(), and Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::isNeumann().
◆ setTime()
template<typename T >
|
inline |
Sets the current time (only required for instationary problems).
- Note
- This method only needs to be implement for instationary problems.
Referenced by Dune::PDELab::DirichletFromFluxConstraintsAdapter< FluxConstraintsParameters >::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)