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

convert a single component function space with experimental global finite elements into a grid function representing the curl More...

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

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

Public Types

typedef DiscreteGridFunctionCurlTraits< typename T::Traits::GridViewType, typename T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > ::GridViewType GridViewType
 Type of the GridView. More...
 
using Output = typename Base::Output
 

Public Member Functions

 DiscreteGridFunctionGlobalCurl (const GFS &gfs, const X &x_)
 Construct a DiscreteGridFunctionGlobalCurl. 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...
 
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::DiscreteGridFunctionGlobalCurl< T, X >

convert a single component function space with experimental global finite elements into a grid function representing the curl

For dimDomain=dimRange=3 the curl will be a 3-component function. For dimDomain=2 (x- and y-coordinates present) and dimRange=2 (x- and y-components present) the curl will be a 1-component function (z-component present). For dimDomain=2 (x- and y-coordinates present) and dimRange=1 (z-component present) the curl will be a 2-component function (x- and y-components present).

This is just an intermediate solution to provide VTK output.

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

Member Typedef Documentation

◆ GridViewType

typedef DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > ::GridViewType Dune::PDELab::GridFunctionBase< DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > , DiscreteGridFunctionGlobalCurl< T, X > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > , DiscreteGridFunctionGlobalCurl< T, X > >::ImplementationTag
inherited

◆ Output

using Dune::PDELab::GridFunctionBase< DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > , DiscreteGridFunctionGlobalCurl< T, X > >::Output = typename Base::Output
inherited

◆ Traits

template<typename T , typename X >
typedef DiscreteGridFunctionCurlTraits< typename T::Traits::GridViewType, typename T::Traits::FiniteElementType::Traits:: LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits:: dimRange> Dune::PDELab::DiscreteGridFunctionGlobalCurl< T, X >::Traits

Constructor & Destructor Documentation

◆ DiscreteGridFunctionGlobalCurl()

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

Construct a DiscreteGridFunctionGlobalCurl.

Parameters
gfsThe GridFunctionsSpace
x_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::DiscreteGridFunctionGlobalCurl< T, X >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline

◆ getGridView() [1/2]

const Traits::GridViewType& Dune::PDELab::GridFunctionInterface< DiscreteGridFunctionCurlTraits< T::Traits::GridViewType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType, T::Traits::FiniteElementType::Traits::LocalBasisType::Traits::dimRange > , DiscreteGridFunctionGlobalCurl< T, X > >::getGridView
inlineinherited

get a reference to the GridView

◆ getGridView() [2/2]

template<typename T , typename X >
const Traits::GridViewType& Dune::PDELab::DiscreteGridFunctionGlobalCurl< 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: