dune-pdelab  2.0.0
Public Types | Public Member Functions | List of all members
Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR > Class Template Reference

Select certain component(s) of a gridfunction. More...

#include <dune/pdelab/function/selectcomponent.hh>

Inheritance diagram for Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >:
Inheritance graph

Public Types

typedef GridFunctionTraits
< typename
GF::Traits::GridViewType,
typename
GF::Traits::RangeFieldType,
dimR, FieldVector< typename
GF::Traits::RangeFieldType,
dimR > > 
Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef GridFunctionTraits
< GF::Traits::GridViewType,
GF::Traits::RangeFieldType,
dimR, FieldVector
< GF::Traits::RangeFieldType,
dimR > >::GridViewType 
GridViewType
 Type of the GridView. More...
 

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::GridViewTypegetGridView () const
 
template<typename Time >
void setTime (Time time)
 
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...
 

Detailed Description

template<typename GF, std::size_t dimR = 1>
class Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >

Select certain component(s) of a gridfunction.

Template Parameters
GFType for the GridFunction
dimRNumber of components of the resulting GridFunction
See also
SelectComponentAdaptor, BoundaryGridFunctionSelectComponentAdaptor.

Member Typedef Documentation

typedef GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, dimR, FieldVector< GF::Traits::RangeFieldType, dimR > > ::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, dimR, FieldVector< GF::Traits::RangeFieldType, dimR > > , SelectComponentGridFunctionAdapter< GF, dimR > >::GridViewType
inherited

Type of the GridView.

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, dimR, FieldVector< GF::Traits::RangeFieldType, dimR > > , SelectComponentGridFunctionAdapter< GF, dimR > >::ImplementationTag
inherited
template<typename GF , std::size_t dimR = 1>
typedef GridFunctionTraits< typename GF::Traits::GridViewType, typename GF::Traits::RangeFieldType, dimR, FieldVector<typename GF::Traits::RangeFieldType, dimR> > Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::Traits

Constructor & Destructor Documentation

template<typename GF , std::size_t dimR = 1>
Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::SelectComponentGridFunctionAdapter ( GF &  gf_,
std::size_t  first 
)
inline

construct with a consecutive range of indices

template<typename GF , std::size_t dimR = 1>
Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::SelectComponentGridFunctionAdapter ( GF &  gf_,
const std::vector< std::size_t >  remap_ 
)
inline

construct with a full index map

Member Function Documentation

Output::DataSetType Dune::PDELab::GridFunctionOutputParameters::dataSetType ( ) const
inlineinherited

Return the data set type of this function.

Referenced by Dune::PDELab::GridFunctionOutputParameters::setDataSetType().

template<typename GF , std::size_t dimR = 1>
void Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline
template<typename GF , std::size_t dimR = 1>
const Traits::GridViewType& Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::getGridView ( ) const
inline
void Dune::PDELab::GridFunctionOutputParameters::setDataSetType ( Output::DataSetType  dataSetType)
inlineinherited

Set the data set type of this function.

References Dune::PDELab::GridFunctionOutputParameters::dataSetType().

template<typename GF , std::size_t dimR = 1>
template<typename Time >
void Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >::setTime ( Time  time)
inline

The documentation for this class was generated from the following file: