dune-pdelab 2.9
Loading...
Searching...
No Matches
Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X > Class Template Reference

Equivalent of DiscreteGridFunctionGradient for vector-valued functions. More...

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

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

Public Types

typedef BaseT::Traits Traits
 
typedef T::template Child< 0 >::Type ChildType
 
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits LBTraits
 
typedef LBTraits::RangeFieldType RF
 
typedef LBTraits::JacobianType JT
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 
typedef LeafNodeTag NodeTag
 

Public Member Functions

 VectorDiscreteGridFunctionGradient (const GFS &gfs, const X &x_)
 Construct a VectorDiscreteGridFunctionGradient.
 
 VectorDiscreteGridFunctionGradient (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_)
 Construct a VectorDiscreteGridFunctionGradient.
 
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
 
Output::DataSetType dataSetType () const
 Return the data set type of this function.
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function.
 

Static Public Member Functions

static constexpr auto degree ()
 

Static Public Attributes

static const bool isLeaf
 
static const bool isPower
 
static const bool isComposite
 
static const std::size_t CHILDREN
 

Detailed Description

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

Equivalent of DiscreteGridFunctionGradient for vector-valued functions.

Template Parameters
TType of PowerGridFunctionSpace
XType of coefficients vector

Member Typedef Documentation

◆ ChildType

template<typename T , typename X >
typedef T::template Child<0>::Type Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::ChildType

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, Dune::FieldMatrix< T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimDomain > > , VectorDiscreteGridFunctionGradient< T, X > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, Dune::FieldMatrix< T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimDomain > > , VectorDiscreteGridFunctionGradient< T, X > >::ImplementationTag
inherited

◆ JT

template<typename T , typename X >
typedef LBTraits::JacobianType Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::JT

◆ LBTraits

template<typename T , typename X >
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::LBTraits

◆ Output

using Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, Dune::FieldMatrix< T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, TypeTree::StaticDegree< T >::value, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimDomain > > , VectorDiscreteGridFunctionGradient< T, X > >::Output = typename Base::Output
inherited

◆ RF

template<typename T , typename X >
typedef LBTraits::RangeFieldType Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::RF

◆ Traits

template<typename T , typename X >
typedef BaseT::Traits Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::Traits

Constructor & Destructor Documentation

◆ VectorDiscreteGridFunctionGradient() [1/2]

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

Construct a VectorDiscreteGridFunctionGradient.

Parameters
gfsGridFunctionSpace.
x_Coefficient vector.

◆ VectorDiscreteGridFunctionGradient() [2/2]

template<typename T , typename X >
Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::VectorDiscreteGridFunctionGradient ( std::shared_ptr< const GFS >  gfs,
std::shared_ptr< const X >  x_ 
)
inline

Construct a VectorDiscreteGridFunctionGradient.

Parameters
gfsshared pointer to the GridFunctionsSpace
x_shared pointer to the coefficients vector

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

template<typename T , typename X >
void Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline

◆ getGridView()

template<typename T , typename X >
const Traits::GridViewType & Dune::PDELab::VectorDiscreteGridFunctionGradient< T, X >::getGridView ( ) const
inline

get a reference to the GridView

◆ setDataSetType()

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

Set the data set type of this function.


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