DUNE PDELab (git)

Dune::PDELab::VTKFiniteElementMapAdapter< G, FEM > Class Template Referenceabstract

#include <dune/pdelab/common/vtkexport.hh>

Public Member Functions

virtual int ncomps () const override
 
virtual std::string name () const override
 get name
 
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 More...
 
virtual VTK::Precision precision () const
 get output precision for the field
 

Detailed Description

template<typename G, typename FEM>
class Dune::PDELab::VTKFiniteElementMapAdapter< G, FEM >

vizualize order of a hp-FiniteElementMap so it can be used with the VTKWriter from dune-grid.

Template Parameters
GVGridView to vizualize on
FEMFiniteElementMap to vizualize

Member Function Documentation

◆ evaluate()

virtual double Dune::VTKFunction< G >::evaluate ( int  comp,
const Entity &  e,
const Dune::FieldVector< ctype, dim > &  xi 
) const
pure virtualinherited

evaluate single component comp in the entity e at local coordinates xi

Evaluate the function in an entity at local coordinates.

Parameters
[in]compnumber of component to be evaluated
[in]ereference to grid entity of codimension 0
[in]xipoint in local coordinates of the reference element of e
Returns
value of the component

◆ ncomps()

template<typename G , typename FEM >
virtual int Dune::PDELab::VTKFiniteElementMapAdapter< G, FEM >::ncomps ( ) const
inlineoverridevirtual

return number of components (1 for scalar valued functions, 3 for vector valued function in 3D etc.)

Implements Dune::VTKFunction< G >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)