DUNE PDELab (git)
vtkexport.hh
79 virtual double evaluate (int comp, const Entity& e, const Dune::FieldVector<DF,n>& xi) const override
147 { return std::make_shared<VTKGridFunctionAdapter<GF> >(stackobject_to_shared_ptr(gf), name, remap); }
193 virtual double evaluate (int comp, const Entity& e, const Dune::FieldVector<DF,n>& xi) const override
Definition: vtkexport.hh:178
virtual std::string name() const override
get name
Definition: vtkexport.hh:198
virtual int ncomps() const override
Definition: vtkexport.hh:188
wrap a GridFunction so it can be used with the VTKWriter from dune-grid.
Definition: vtkexport.hh:25
virtual std::string name() const override
get name
Definition: vtkexport.hh:90
VTKGridFunctionAdapter(const T &t_, std::string s_, const std::vector< std::size_t > &remap_=rangeVector(std::size_t(T::Traits::dimRange)))
construct a VTKGridFunctionAdapter
Definition: vtkexport.hh:48
VTKGridFunctionAdapter(const std::shared_ptr< const T > &t_, std::string s_, const std::vector< std::size_t > &remap_=rangeVector(std::size_t(T::Traits::dimRange)))
construct a VTKGridFunctionAdapter
Definition: vtkexport.hh:68
virtual int ncomps() const override
Definition: vtkexport.hh:74
A base class for grid functions with any return type and dimension.
Definition: function.hh:42
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
Create a shared_ptr for a stack-allocated object.
Definition: shared_ptr.hh:72
Provides file i/o for the visualization toolkit.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)