dune-pdelab
2.0.0
|
Take square of a GridFunction. More...
#include <dune/pdelab/function/sqr.hh>
Public Types | |
typedef Base::Traits | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef GridFunctionTraits < GF::Traits::GridViewType, GF::Traits::RangeFieldType, 1, FieldVector < GF::Traits::RangeFieldType, 1 > >::GridViewType | GridViewType |
Type of the GridView. More... | |
Public Member Functions | |
SqrGridFunctionAdapter (GF &gf_) | |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
const Traits::GridViewType & | getGridView () const |
template<typename Time > | |
void | setTime (Time time) |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Evaluate the GridFunction at given position. More... | |
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... | |
Take square of a GridFunction.
GF | The type of the GridFunction to square |
|
inherited |
Type of the GridView.
|
inherited |
typedef Base::Traits Dune::PDELab::SqrGridFunctionAdapter< GF >::Traits |
|
inline |
|
inlineinherited |
Return the data set type of this function.
Referenced by Dune::PDELab::GridFunctionOutputParameters::setDataSetType().
|
inline |
|
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 |
|
inlineinherited |
Set the data set type of this function.
References Dune::PDELab::GridFunctionOutputParameters::dataSetType().
|
inline |