dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::DiscreteGridFunctionGradient< T, X > Class Template Reference

convert a single component function space with a grid function representing the gradient More...

#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>

Inheritance diagram for Dune::PDELab::DiscreteGridFunctionGradient< T, X >:
Inheritance graph

Public Types

typedef GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain > > Traits
 

Public Member Functions

 DiscreteGridFunctionGradient (const GFS &gfs, const X &x_)
 Construct a DiscreteGridFunctionGradient. More...
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewTypegetGridView () const
 get a reference to the GridView 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...
 

Detailed Description

template<typename T, typename X>
class Dune::PDELab::DiscreteGridFunctionGradient< T, X >

convert a single component function space with a grid function representing the gradient

The function values should be single-component vectors. The Gradien will be a dimDomain-component function.

Template Parameters
TType of GridFunctionSpace. The LocalBasis must provide the evaluateJacobian() method.
XType of coefficients vector

Member Typedef Documentation

template<typename T , typename X >
typedef GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain> > Dune::PDELab::DiscreteGridFunctionGradient< T, X >::Traits

Constructor & Destructor Documentation

template<typename T , typename X >
Dune::PDELab::DiscreteGridFunctionGradient< T, X >::DiscreteGridFunctionGradient ( const GFS &  gfs,
const X &  x_ 
)
inline

Construct a DiscreteGridFunctionGradient.

Parameters
gfsThe GridFunctionsSpace
x_The coefficients vector

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 T , typename X >
void Dune::PDELab::DiscreteGridFunctionGradient< T, X >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline
template<typename T , typename X >
const Traits::GridViewType& Dune::PDELab::DiscreteGridFunctionGradient< T, X >::getGridView ( ) const
inline

get a reference to the GridView

void Dune::PDELab::GridFunctionOutputParameters::setDataSetType ( Output::DataSetType  dataSetType)
inlineinherited

Set the data set type of this function.

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


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