DUNE PDELab (git)

Dune::PDELab::DiscreteGridFunctionGradient< T, X > Class Template Reference

convert a single component function space with a grid function representing the gradient 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

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

convert a single component function space with a grid function representing the gradient

The function values should be single-component vectors. The Gradien will be a dimDomain-component function.

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

Constructor & Destructor Documentation

◆ DiscreteGridFunctionGradient() [1/2]

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

Construct a DiscreteGridFunctionGradient.

Parameters
gfsThe GridFunctionsSpace
x_The coefficients vector

◆ DiscreteGridFunctionGradient() [2/2]

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

Construct a DiscreteGridFunctionGradient.

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)