|
dune-pdelab
2.5-dev
|
GridFunction returning a constant value everywhere. More...
#include <dune/pdelab/function/const.hh>

Public Types | |
| typedef AnalyticGridFunctionTraits< GV, RF, dimR > | Traits |
| typedef AnalyticGridFunctionBase< Traits, ConstGridFunction< GV, RF, dimR > > | BaseT |
| typedef GridFunctionTag | ImplementationTag |
| typedef AnalyticGridFunctionTraits< GV, RF, 1 > ::GridViewType | GridViewType |
| Type of the GridView. More... | |
| using | Output = typename Base::Output |
Public Member Functions | |
| ConstGridFunction (const GV &gv, const typename Traits::RangeType &val_=1) | |
| Contruct a Const GridFunction. More... | |
| void | evaluateGlobal (const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| evaluate the function globally More... | |
| void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| const Traits::GridViewType & | getGridView () const |
| Output::DataSetType | dataSetType () const |
| Return the data set type of this function. More... | |
| void | setDataSetType (Output::DataSetType dataSetType) |
| Set the data set type of this function. More... | |
| template<typename Time > | |
| void | setTime (Time t) |
| set time for subsequent evaluation More... | |
GridFunction returning a constant value everywhere.
| GV | The type of the GridView |
| RF | The type of the range field |
| dimRange | The dimension of the Range |
| typedef AnalyticGridFunctionBase< Traits, ConstGridFunction<GV,RF, dimR> > Dune::PDELab::ConstGridFunction< GV, RF, dimR >::BaseT |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
| typedef AnalyticGridFunctionTraits<GV,RF,dimR> Dune::PDELab::ConstGridFunction< GV, RF, dimR >::Traits |
|
inline |
Contruct a Const GridFunction.
| gv | The GridView to use. It is passed as a reference to AnalyticGridFunctionBase (look there for the requirements of this argument). |
| val_ | The value tu return on evaluation. This class stores a copy of that value. |
|
inlineinherited |
Return the data set type of this function.
|
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] | e | The entity to evaluate on |
| [in] | x | The position in entity-local coordinates |
| [out] | y | The result of the evaluation |
|
inline |
evaluate the function globally
| x | Position in global coordinates where to evaluate. |
| y | The resulting value. |
|
inlineinherited |
|
inlineinherited |
Set the data set type of this function.
|
inlineinherited |
set time for subsequent evaluation
This method sets the time for subsequent calls to any of the evaluation methods.
1.8.17