|
dune-pdelab 2.8
|
DiscreteGridFunction with Piola transformation. More...
#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>

Public Types | |
| typedef BaseT::Traits | Traits |
| typedef GridFunctionTag | ImplementationTag |
| typedef T::GridViewType | GridViewType |
| Type of the GridView. | |
| using | Output = typename Base::Output |
| typedef LeafNodeTag | NodeTag |
Public Member Functions | |
| DiscreteGridFunctionPiola (const GFS &gfs, const X &x_) | |
| Construct a DiscreteGridFunctionPiola. | |
| DiscreteGridFunctionPiola (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_) | |
| Construct a DiscreteGridFunctionPiola. | |
| void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| 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 Member Functions | |
| static constexpr auto | degree () |
Static Public Attributes | |
| static const bool | isLeaf |
| static const bool | isPower |
| static const bool | isComposite |
| static const std::size_t | CHILDREN |
Detailed Description
class Dune::PDELab::DiscreteGridFunctionPiola< T, X >
DiscreteGridFunction with Piola transformation.
If a GridFunctionSpace with local-valued finite elements is used, this class can only be used for scalar functions, since for vector-valued local finite elements the values must be transformed, and the transformation depends on the type of element. For H(div) elements (Raviart-Thomas) look at DiscreteGridFunctionPiola.
If a GridFunctionSpace with finite elements using the new global-valued interface is used, this class can be used as-is even for vector-valued functions.
If you have a GridFunctionSpace tree of 1-component grid-function spaces, and want to collectively treat them as a vector-valued grid-function, look at VectorDiscreteGridFunction.
- Template Parameters
-
T Type of GridFunctionSpace X Type of coefficients vector
Member Typedef Documentation
◆ GridViewType
|
inherited |
Type of the GridView.
◆ ImplementationTag
|
inherited |
◆ Output
|
inherited |
◆ Traits
| typedef BaseT::Traits Dune::PDELab::DiscreteGridFunctionPiola< T, X >::Traits |
Constructor & Destructor Documentation
◆ DiscreteGridFunctionPiola() [1/2]
|
inline |
Construct a DiscreteGridFunctionPiola.
- Parameters
-
gfs The GridFunctionsSpace x_ The coefficients vector
◆ DiscreteGridFunctionPiola() [2/2]
|
inline |
Construct a DiscreteGridFunctionPiola.
- Parameters
-
gfs shared pointer to the GridFunctionsSpace x_ shared pointer to the coefficients vector
Member Function Documentation
◆ dataSetType()
|
inlineinherited |
Return the data set type of this function.
◆ evaluate()
|
inline |
◆ getGridView()
|
inline |
get a reference to the GridView
◆ setDataSetType()
|
inlineinherited |
Set the data set type of this function.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8