dune-pdelab 2.7-git
|
DiscreteGridFunction for vector-valued functions. More...
#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>
Public Types | |
typedef BaseT::Traits | Traits |
typedef T::template Child< 0 >::Type | ChildType |
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType | RF |
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType | RT |
typedef GridFunctionTag | ImplementationTag |
typedef T::GridViewType | GridViewType |
Type of the GridView. | |
using | Output = typename Base::Output |
Public Member Functions | |
VectorDiscreteGridFunction (const GFS &gfs, const X &x_, std::size_t start=0) | |
construct | |
VectorDiscreteGridFunction (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_, std::size_t start=0) | |
Construct a VectorDiscreteGridFunction. | |
template<class Remap > | |
VectorDiscreteGridFunction (const GFS &gfs, const X &x_, const Remap &remap_) | |
construct | |
template<class Remap > | |
VectorDiscreteGridFunction (std::shared_ptr< const GFS > gfs, std::shared_ptr< const X > x_, const Remap &remap_) | |
Construct a VectorDiscreteGridFunction. | |
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. | |
DiscreteGridFunction for vector-valued functions.
convert a power function space of scalar function spaces into a vector-valued grid function this is just an intermediate solution to provide VTK output
T | Type of PowerGridFunctionSpace |
X | Type of coefficients vector |
dimR | Force a different number of components for the resulting GridFunction than the PowerGridFunctionSpace. |
typedef T::template Child<0>::Type Dune::PDELab::VectorDiscreteGridFunction< T, X, dimR >::ChildType |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeFieldType Dune::PDELab::VectorDiscreteGridFunction< T, X, dimR >::RF |
typedef ChildType::Traits::FiniteElementType::Traits::LocalBasisType::Traits::RangeType Dune::PDELab::VectorDiscreteGridFunction< T, X, dimR >::RT |
typedef BaseT::Traits Dune::PDELab::VectorDiscreteGridFunction< T, X, dimR >::Traits |
|
inline |
construct
gfs | GridFunctionSpace. |
x_ | Coefficient vector. |
start | Number of first child of gfs to use. |
|
inline |
Construct a VectorDiscreteGridFunction.
gfs | shared pointer to the GridFunctionsSpace |
x_ | shared pointer to the coefficients vector |
start | Number of first child of gfs to use. |
|
inline |
construct
gfs | GridFunctionSpace. |
x_ | Coefficient vector. |
remap_ | Subscriptable entity (i.e. a container, array, or pointer) with at least dimR entries. The relevant entries are copied. |
i
denotes a component of the resulting grid function, then remap_[i] denotes the corresponding child of the gridfunctionspace.
|
inline |
Construct a VectorDiscreteGridFunction.
gfs | shared pointer to the GridFunctionsSpace |
x_ | shared pointer to the coefficients vector |
remap_ | Subscriptable entity (i.e. a container, array, or pointer) with at least dimR entries. The relevant entries are copied. |
i
denotes a component of the resulting grid function, then remap_[i] denotes the corresponding child of the gridfunctionspace.
|
inlineinherited |
Return the data set type of this function.
|
inline |
|
inline |
get a reference to the GridView
|
inlineinherited |
Set the data set type of this function.