DUNE PDELab (git)

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>

Public Types

typedef T::GridViewType GridViewType
 Type of the GridView.
 
typedef LeafNodeTag NodeTag
 The type tag that describes a LeafNode.
 

Public Member Functions

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

static const bool isLeaf = true
 Mark this class as a leaf in a dune-typetree.
 
static const bool isPower = false
 Mark this class as a non power in the dune-typetree.
 
static const bool isComposite = false
 Mark this class as a non composite in the dune-typetree.
 

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

Constructor & Destructor Documentation

◆ DiscreteGridFunctionGlobalCurl() [1/2]

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

◆ DiscreteGridFunctionGlobalCurl() [2/2]

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

Construct a DiscreteGridFunctionGlobalCurl.

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

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)