dune-pdelab 2.7-git
|
Select certain component(s) of a gridfunction. More...
#include <dune/pdelab/function/selectcomponent.hh>
Public Types | |
typedef GridFunctionTraits< typename GF::Traits::GridViewType, typename GF::Traits::RangeFieldType, dimR, FieldVector< typename GF::Traits::RangeFieldType, dimR > > | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef T::GridViewType | GridViewType |
Type of the GridView. More... | |
using | Output = typename Base::Output |
Public Member Functions | |
SelectComponentGridFunctionAdapter (GF &gf_, std::size_t first) | |
construct with a consecutive range of indices More... | |
SelectComponentGridFunctionAdapter (GF &gf_, const std::vector< std::size_t > remap_) | |
construct with a full index map More... | |
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... | |
Select certain component(s) of a gridfunction.
GF | Type for the GridFunction |
dimR | Number of components of the resulting GridFunction |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef GridFunctionTraits< typename GF::Traits::GridViewType, typename GF::Traits::RangeFieldType, dimR, FieldVector<typename GF::Traits::RangeFieldType, dimR> > Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::Traits |
|
inline |
construct with a consecutive range of indices
|
inline |
construct with a full index map
|
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 |
|
inlineinherited |
Set the data set type of this function.
|
inline |