dune-pdelab
2.5-dev
|
DiscreteGridFunction with Piola transformation. More...
#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>
Public Types | |
typedef BaseT::Traits | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef GridFunctionTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType > ::GridViewType | GridViewType |
Type of the GridView. More... | |
using | Output = typename Base::Output |
Public Member Functions | |
DiscreteGridFunctionPiola (const GFS &gfs, const X &x_) | |
Construct a DiscreteGridFunctionPiola. More... | |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
const Traits::GridViewType & | getGridView () const |
get a reference to the GridView More... | |
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... | |
DiscreteGridFunction with Piola transformation.
If a GridFunctionSpace with local-valued finite elements is used, this class can only be used for scalar functions, since for vector-valued local finite elements the values must be transformed, and the transformation depends on the type of element. For H(div) elements (Raviart-Thomas) look at DiscreteGridFunctionPiola.
If a GridFunctionSpace with finite elements using the new global-valued interface is used, this class can be used as-is even for vector-valued functions.
If you have a GridFunctionSpace tree of 1-component grid-function spaces, and want to collectively treat them as a vector-valued grid-function, look at VectorDiscreteGridFunction.
T | Type of GridFunctionSpace |
X | Type of coefficients vector |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef BaseT::Traits Dune::PDELab::DiscreteGridFunctionPiola< T, X >::Traits |
|
inline |
Construct a DiscreteGridFunctionPiola.
gfs | The GridFunctionsSpace |
x_ | The coefficients vector |
|
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 |
|
inline |
get a reference to the GridView
|
inlineinherited |
Set the data set type of this function.