|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
function.hh
Go to the documentation of this file.
Mapper for multiple codim and multiple geometry types.
#define DUNE_THROW(E, m)
Common stuff for the VTKWriter.
Grid::ctype ctype
type used for coordinates in grid
Definition common/gridview.hh:127
MCMGLayout mcmgElementLayout()
layout for elements (codim-0 entities)
Definition mcmgmapper.hh:95
MCMGLayout mcmgVertexLayout()
layout for vertices (dim-0 entities)
Definition mcmgmapper.hh:105
Precision
which precision to use when writing out data to vtk files
Definition common.hh:269
@ float32
Include standard header files.
GlobalCoordinate global(const LocalCoordinate &local) const
@ mydimension
Dimensionality of the reference element of the entity.
Definition common/entity.hh:113
Implementation class for a multiple codim and multiple geometry type mapper.
Definition mcmgmapper.hh:127
size_type size() const
Return total number of entities in the entity set managed by the mapper.
Definition mcmgmapper.hh:202
Index subIndex(const typename GV::template Codim< 0 >::Entity &e, int i, unsigned int codim) const
Map subentity of codim 0 entity to starting index in array for dof block.
Definition mcmgmapper.hh:183
Index index(const EntityType &e) const
Map entity to starting index in array for dof block.
Definition mcmgmapper.hh:169
A base class for grid functions with any return type and dimension.
Definition function.hh:40
virtual double evaluate(int comp, const Entity &e, const Dune::FieldVector< ctype, dim > &xi) const =0
evaluate single component comp in the entity e at local coordinates xi
virtual VTK::Precision precision() const
get output precision for the field
Definition function.hh:65
virtual int ncomps() const =0
Take a vector and interpret it as cell data for the VTKWriter.
Definition function.hh:95
double evaluate(int, const Entity &e, const Dune::FieldVector< ctype, dim > &) const override
evaluate
Definition function.hh:127
P0VTKFunction(const GV &gv, const V &v_, const std::string &s_, int ncomps=1, int mycomp=0, VTK::Precision prec=VTK::Precision::float32)
construct from a vector and a name
Definition function.hh:163
VTK::Precision precision() const override
get output precision for the field
Definition function.hh:140
int ncomps() const override
return number of components
Definition function.hh:121
Take a vector and interpret it as point data for the VTKWriter.
Definition function.hh:203
VTK::Precision precision() const override
get output precision for the field
Definition function.hh:257
double evaluate(int comp, const Entity &e, const Dune::FieldVector< ctype, dim > &xi) const override
evaluate
Definition function.hh:235
P1VTKFunction(const GV &gv, const V &v_, const std::string &s_, int ncomps=1, int mycomp=0, VTK::Precision prec=VTK::Precision::float32)
construct from a vector and a name
Definition function.hh:280
int ncomps() const override
return number of components
Definition function.hh:229
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8