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

convert a grid function space and a coefficient vector into a grid function of the curl More...

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

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

Public Types

typedef GridFunctionTraits< typename T::Traits::GridViewType, typename J2C::CurlField, J2C::dimCurl, typename J2C::Curl > Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 
typedef LeafNodeTag NodeTag
 

Public Member Functions

 DiscreteGridFunctionCurl (const GFS &gfs, const X &x_)
 Construct a DiscreteGridFunctionCurl.
 
 DiscreteGridFunctionCurl (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_)
 Construct a DiscreteGridFunctionCurl.
 
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
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
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::DiscreteGridFunctionCurl< T, X >

convert a grid function space and a coefficient vector into a grid function of the curl

This class works only with a GridFunctionSpace with finite elements using the new global-valued interface.

Template Parameters
TType of GridFunctionSpace
XType of coefficients vector

Member Typedef Documentation

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::CurlField, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::dimCurl, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::Curl > , DiscreteGridFunctionCurl< T, X > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::CurlField, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::dimCurl, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::Curl > , DiscreteGridFunctionCurl< T, X > >::ImplementationTag
inherited

◆ Output

using Dune::PDELab::GridFunctionBase< GridFunctionTraits< T::Traits::GridViewType, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::CurlField, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::dimCurl, JacobianToCurl< T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::JacobianType >::Curl > , DiscreteGridFunctionCurl< T, X > >::Output = typename Base::Output
inherited

◆ Traits

template<typename T , typename X >
typedef GridFunctionTraits< typename T::Traits::GridViewType, typename J2C::CurlField, J2C::dimCurl, typename J2C::Curl > Dune::PDELab::DiscreteGridFunctionCurl< T, X >::Traits

Constructor & Destructor Documentation

◆ DiscreteGridFunctionCurl() [1/2]

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

Construct a DiscreteGridFunctionCurl.

Parameters
gfsThe GridFunctionsSpace
x_The coefficients vector

◆ DiscreteGridFunctionCurl() [2/2]

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

Construct a DiscreteGridFunctionCurl.

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() [1/2]

template<class T , class Imp >
void Dune::PDELab::GridFunctionInterface< T, Imp >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inlineinherited

Evaluate the GridFunction at given position.

Evaluates components of the grid function at the given position and returns these values in a vector.

Parameters
[in]eThe entity to evaluate on
[in]xThe position in entity-local coordinates
[out]yThe result of the evaluation

◆ evaluate() [2/2]

template<typename T , typename X >
void Dune::PDELab::DiscreteGridFunctionCurl< 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::DiscreteGridFunctionCurl< 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: