|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
function.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Mapper for multiple codim and multiple geometry types.
#define DUNE_THROW(E,...)
Common stuff for the VTKWriter.
static constexpr int dimension
The dimension of the grid.
Definition common/gridview.hh:134
Grid::ctype ctype
type used for coordinates in grid
Definition common/gridview.hh:131
MCMGLayout mcmgElementLayout()
layout for elements (codim-0 entities)
Definition mcmgmapper.hh:97
MCMGLayout mcmgVertexLayout()
layout for vertices (dim-0 entities)
Definition mcmgmapper.hh:107
Precision
which precision to use when writing out data to vtk files
Definition common.hh:271
@ float32
Include standard header files.
GlobalCoordinate global(const LocalCoordinate &local) const
static constexpr int mydimension
Dimensionality of the reference element of the entity.
Definition common/entity.hh:112
Implementation class for a multiple codim and multiple geometry type mapper.
Definition mcmgmapper.hh:129
size_type size() const
Return total number of entities in the entity set managed by the mapper.
Definition mcmgmapper.hh:246
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:227
Index index(const EntityType &e) const
Map entity to starting index in array for dof block.
Definition mcmgmapper.hh:213
A base class for grid functions with any return type and dimension.
Definition function.hh:42
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:67
virtual int ncomps() const =0
Take a vector and interpret it as cell data for the VTKWriter.
Definition function.hh:97
double evaluate(int, const Entity &e, const Dune::FieldVector< ctype, dim > &) const override
evaluate
Definition function.hh:129
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:165
VTK::Precision precision() const override
get output precision for the field
Definition function.hh:142
int ncomps() const override
return number of components
Definition function.hh:123
Take a vector and interpret it as point data for the VTKWriter.
Definition function.hh:205
VTK::Precision precision() const override
get output precision for the field
Definition function.hh:259
double evaluate(int comp, const Entity &e, const Dune::FieldVector< ctype, dim > &xi) const override
evaluate
Definition function.hh:237
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:282
int ncomps() const override
return number of components
Definition function.hh:231
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8