Adapter for boundary cond from a callable taking global coordinates.
More...
#include <dune/pdelab/function/callableadapter.hh>
|
| GlobalCallableToBoundaryConditionAdapter (F f_) |
| construct from functor More...
|
|
template<typename I > |
bool | isDirichlet (const I &intersection, const Dune::FieldVector< typename I::ctype, I::dimension-1 > &coord) const |
| Test whether boundary is Dirichlet-constrained. More...
|
|
template<typename I > |
bool | isNeumann (const I &ig, const Dune::FieldVector< typename I::ctype, I::dimension-1 > &coord) const |
|
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) |
|
template<typename F>
class Dune::PDELab::GlobalCallableToBoundaryConditionAdapter< F >
Adapter for boundary cond from a callable taking global coordinates.
template<typename I >
bool Dune::PDELab::DirichletConstraintsParameters::isDirichlet |
( |
const I & |
intersection, |
|
|
const FieldVector< typename I::ctype, I::dimension-1 > & |
coord |
|
) |
| const |
|
inlineinherited |
Indicates whether the given position should be Dirichlet-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 Dirichlet constraint.
template<typename F >
template<typename I >
Test whether boundary is Dirichlet-constrained.
References xg.
template<typename I >
bool Dune::PDELab::DirichletConstraintsParameters::isNeumann |
( |
const I & |
intersection, |
|
|
const FieldVector< typename I::ctype, I::dimension-1 > & |
coord |
|
) |
| const |
|
inlineinherited |
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.
- 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.
template<typename F >
template<typename I >
template<typename T >
void Dune::PDELab::DirichletConstraintsParameters::setTime |
( |
const T & |
time | ) |
|
|
inlineinherited |
Sets the current time (only required for instationary problems).
- Note
- This method only needs to be implement for instationary problems.
The documentation for this class was generated from the following file: