dune-pdelab
2.4-dev
|
#include <dune/pdelab/constraints/common/constraintsparameters.hh>
Public Member Functions | |
template<typename I > | |
bool | isDirichlet (const I &intersection, const FieldVector< typename I::ctype, I::dimension-1 > &coord) const |
template<typename I > | |
bool | isNeumann (const I &intersection, const FieldVector< typename I::ctype, I::dimension-1 > &coord) const |
template<typename T > | |
void | setTime (const T &time) |
Interface for the constraints parameters describing Dirichlet constraints.
|
inline |
Indicates whether the given position should be Dirichlet-constrained.
intersection | The grid intersection containing the queried location. |
coord | The position of the queried location in local coordinates of the intersection. |
Referenced by Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isDirichlet(), and Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::isNeumann().
|
inline |
Indicates whether the given position should be Neumann-constrained.
Most of the time, this method will be equivalent to !isDirichlet(...), but sometimes (in particular in multi-domain scenarios), both methods may return false.
intersection | The grid intersection containing the queried location. |
coord | The position of the queried location in local coordinates of the intersection. |
|
inline |
Sets the current time (only required for instationary problems).
Referenced by Dune::PDELab::FluxFromDirichletConstraintsAdapter< DirichletConstraintsParameters >::setTime().