DUNE PDELab (2.7)

Dune::PDELab::VectorDiscreteGridFunctionCurl< T, X, 2 > Class Template Reference

Compute curl of vector-valued functions (2D). 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

 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...
 
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.
 
static const std::size_t CHILDREN = 0
 Leafs have no children.
 

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.

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

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.80.0 (May 16, 22:29, 2024)