dune-pdelab
2.4.1
|
BoundaryGridFunction returning a constant value everywhere. More...
#include <dune/pdelab/function/const.hh>
Public Types | |
typedef BoundaryGridFunctionTraits< GV, RF, dimR, FieldVector< RF, dimR > > | Traits |
export Traits class More... | |
typedef GridFunctionTag | ImplementationTag |
typedef BoundaryGridFunctionTraits< GV, RF, dimR, FieldVector< RF, dimR > >::GridViewType | GridViewType |
Type of the GridView. More... | |
Public Member Functions | |
ConstBoundaryGridFunction (const GV &gv_, const typename Traits::RangeType &val_=1) | |
Contruct a ConstBoundaryGridFunction. More... | |
template<typename I > | |
void | evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
evaluate the function More... | |
const GV & | getGridView () const |
get a reference to the GridView More... | |
void | evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Evaluate the GridFunction at given position. More... | |
BoundaryGridFunction returning a constant value everywhere.
GV | The type of the GridView |
RF | The type of the range field |
dimRange | The dimension of the Range |
|
inherited |
Type of the GridView.
|
inherited |
typedef BoundaryGridFunctionTraits< GV, RF,dimR,FieldVector<RF,dimR> > Dune::PDELab::ConstBoundaryGridFunction< GV, RF, dimR >::Traits |
export Traits class
|
inline |
Contruct a ConstBoundaryGridFunction.
gv_ | The GridView to use. This class stores a copy of it. |
val_ | The value tu return on evaluation. This class stores a copy of that value. |
|
inline |
evaluate the function
I | Type of intersection |
ig | IntersectionGeometry of this boundary intersection. |
x | Position in local coordinates where to evaluate. |
y | The resulting value. |
|
inlineinherited |
Evaluate the GridFunction at given position.
Evaluates components of the grid function at the given position and returns these values in a vector.
[in] | ig | geometry of intersection with boundary |
[in] | x | The position in entity-local coordinates |
[out] | y | The result of the evaluation |
|
inline |
get a reference to the GridView