dune-pdelab
2.5-dev
|
Adapter returning f1(x)-f2(x) for two given grid functions. More...
#include <dune/pdelab/gridfunctionspace/gridfunctionadapter.hh>
Public Types | |
typedef Dune::PDELab::GridFunctionTraits< typename T1::Traits::GridViewType, typename T1::Traits::RangeFieldType, 1, Dune::FieldVector< typename T1::Traits::RangeFieldType, 1 > > | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef Dune::PDELab::GridFunctionTraits< T1::Traits::GridViewType, T1::Traits::RangeFieldType, 1, Dune::FieldVector< T1::Traits::RangeFieldType, 1 > > ::GridViewType | GridViewType |
Type of the GridView. More... | |
using | Output = typename Base::Output |
Public Member Functions | |
DifferenceAdapter (const T1 &t1_, const T2 &t2_) | |
constructor 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... | |
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... | |
Adapter returning f1(x)-f2(x) for two given grid functions.
T1 | a grid function type |
T2 | a grid function type |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef Dune::PDELab::GridFunctionTraits<typename T1::Traits::GridViewType, typename T1::Traits::RangeFieldType, 1,Dune::FieldVector<typename T1::Traits::RangeFieldType,1> > Dune::PDELab::DifferenceAdapter< T1, T2 >::Traits |
|
inline |
constructor
|
inlineinherited |
Return the data set type of this function.
|
inline |
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.