|
dune-pdelab 2.7-git
|
convert a single component function space with a grid function representing the gradient More...
#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>

Public Types | |
| typedef GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain > > | Traits |
| typedef GridFunctionTag | ImplementationTag |
| typedef T::GridViewType | GridViewType |
| Type of the GridView. | |
| using | Output = typename Base::Output |
Public Member Functions | |
| DiscreteGridFunctionGradient (const GFS &gfs, const X &x_) | |
| Construct a DiscreteGridFunctionGradient. | |
| DiscreteGridFunctionGradient (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_) | |
| Construct a DiscreteGridFunctionGradient. | |
| 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 | |
| void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| Evaluate the GridFunction at given position. | |
| 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. | |
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.
| T | Type of GridFunctionSpace. The LocalBasis must provide the evaluateJacobian() method. |
| X | Type of coefficients vector |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
| typedef GridFunctionTraits< typename GFS::Traits::GridViewType, typename LBTraits::RangeFieldType, LBTraits::dimDomain, FieldVector< typename LBTraits::RangeFieldType, LBTraits::dimDomain> > Dune::PDELab::DiscreteGridFunctionGradient< T, X >::Traits |
|
inline |
Construct a DiscreteGridFunctionGradient.
| gfs | The GridFunctionsSpace |
| x_ | The coefficients vector |
|
inline |
Construct a DiscreteGridFunctionGradient.
| gfs | shared pointer to the GridFunctionsSpace |
| x_ | shared pointer to the coefficients vector |
|
inlineinherited |
Return the data set type of this function.
|
inlineinherited |
Evaluate the GridFunction at given position.
Evaluates components of the grid function at the given position and returns these values in a vector.
| [in] | e | The entity to evaluate on |
| [in] | x | The position in entity-local coordinates |
| [out] | y | The result of the evaluation |
|
inline |
|
inline |
get a reference to the GridView
|
inlineinherited |
Set the data set type of this function.