DUNE PDELab (git)
Dune::PDELab::VectorDiscreteGridFunctionCurl< T, X, 3 > Class Template Reference
Compute curl of vector-valued functions (3D). 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 | |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Evaluate the GridFunction at given position. More... | |
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::VectorDiscreteGridFunctionCurl< T, X, 3 >
class Dune::PDELab::VectorDiscreteGridFunctionCurl< T, X, 3 >
Compute curl of vector-valued functions (3D).
- Template Parameters
-
T Type of VectorGridFunctionSpace. X Type of coefficients vector.
This is the specialized version for dimR == 3. It takes the curl of a 3D-valued function and the result will be a 3-component vector consisting of scalar-valued functions.
Constructor & Destructor Documentation
◆ VectorDiscreteGridFunctionCurl() [1/2]
template<typename T , typename X >
|
inline |
Construct a VectorDiscreteGridFunctionCurl.
- Parameters
-
gfs GridFunctionSpace. x_ Coefficient vector.
◆ VectorDiscreteGridFunctionCurl() [2/2]
template<typename T , typename X >
|
inline |
Construct a VectorDiscreteGridFunctionCurl.
- Parameters
-
gfs shared pointer to the GridFunctionsSpace x_ shared pointer to the coefficients vector
Member Function Documentation
◆ evaluate()
|
inlineinherited |
Evaluate the GridFunction at given position.
Evaluates components of the grid function at the given position and returns these values in a vector.
- Parameters
-
[in] e The entity to evaluate on [in] x The position in entity-local coordinates [out] y The result of the evaluation
The documentation for this class was generated from the following file:
- dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)