dune-pdelab  2.5-dev
Public Types | Public Member Functions | List of all members
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
 

Public Member Functions

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

◆ 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()

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

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::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: