dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::PDELab::VectorDiscreteGridFunctionCurl< T, X, 2 > Class Template Reference

Compute curl of vector-valued functions (2D). More...

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

Inheritance diagram for Dune::PDELab::VectorDiscreteGridFunctionCurl< T, X, 2 >:
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. More...
 
using Output = typename Base::Output
 

Public Member Functions

 VectorDiscreteGridFunctionCurl (const GFS &gfs, const X &x_)
 Construct a VectorDiscreteGridFunctionCurl. More...
 
 VectorDiscreteGridFunctionCurl (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_)
 Construct a VectorDiscreteGridFunctionCurl. More...
 
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 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::VectorDiscreteGridFunctionCurl< T, X, 2 >

Compute curl of vector-valued functions (2D).

Template Parameters
TType of VectorGridFunctionSpace.
XType of coefficients vector.

This is the specialized version for dimR == 2. It takes the curl of a 2D-valued function and the result will be a single component scalar-valued function.

Member Typedef Documentation

◆ ChildType

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

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType > , VectorDiscreteGridFunctionDiv< T, X > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType > , VectorDiscreteGridFunctionDiv< T, X > >::ImplementationTag
inherited

◆ JT

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

◆ LBTraits

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

◆ Output

using Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< T::Traits::GridViewType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange, T::template Child< 0 >::Type::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType > , VectorDiscreteGridFunctionDiv< T, X > >::Output = typename Base::Output
inherited

◆ RF

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

◆ Traits

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

Constructor & Destructor Documentation

◆ VectorDiscreteGridFunctionCurl() [1/2]

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

Construct a VectorDiscreteGridFunctionCurl.

Parameters
gfsGridFunctionSpace.
x_Coefficient vector.

◆ VectorDiscreteGridFunctionCurl() [2/2]

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

Construct a VectorDiscreteGridFunctionCurl.

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::VectorDiscreteGridFunctionCurl< T, X, 2 >::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::VectorDiscreteGridFunctionCurl< T, X, 2 >::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: