dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::VTKFunctionWrapper< DF > Class Template Reference

#include <dune/fem/io/file/vtkio.hh>

Inheritance diagram for Dune::Fem::VTKFunctionWrapper< DF >:
Inheritance graph

Public Types

enum  TypeOfField { real , complex_real , complex_imag }
 
typedef DF DiscreteFunctionType
 
typedef ConstLocalFunction< DF > LocalFunctionType
 
typedef DiscreteFunctionType::FunctionSpaceType FunctionSpaceType
 
typedef FunctionSpaceType::DomainType DomainType
 
typedef FunctionSpaceType::RangeType RangeType
 
typedef DiscreteFunctionType::GridPartType GridPartType
 
typedef GridPartType::template Codim< 0 >::EntityType EntityType
 
typedef EntityType::Geometry::LocalCoordinate LocalCoordinateType
 

Public Member Functions

 VTKFunctionWrapper (const DiscreteFunctionType &df, const std::string &dataName, int component, bool vector, TypeOfField typeOfField)
 constructor taking discrete function
 
virtual ~VTKFunctionWrapper ()
 virtual destructor
 
virtual int ncomps () const
 return number of components
 
virtual double evaluate (int comp, const EntityType &e, const LocalCoordinateType &xi) const
 
virtual std::string name () const
 get name
 

Static Public Attributes

static const int dimRange = FunctionSpaceType::dimRange
 
static const int dimDomain = FunctionSpaceType::dimDomain
 

Member Typedef Documentation

◆ DiscreteFunctionType

template<class DF >
typedef DF Dune::Fem::VTKFunctionWrapper< DF >::DiscreteFunctionType

◆ DomainType

template<class DF >
typedef FunctionSpaceType::DomainType Dune::Fem::VTKFunctionWrapper< DF >::DomainType

◆ EntityType

template<class DF >
typedef GridPartType::template Codim<0>::EntityType Dune::Fem::VTKFunctionWrapper< DF >::EntityType

◆ FunctionSpaceType

template<class DF >
typedef DiscreteFunctionType::FunctionSpaceType Dune::Fem::VTKFunctionWrapper< DF >::FunctionSpaceType

◆ GridPartType

template<class DF >
typedef DiscreteFunctionType::GridPartType Dune::Fem::VTKFunctionWrapper< DF >::GridPartType

◆ LocalCoordinateType

template<class DF >
typedef EntityType::Geometry::LocalCoordinate Dune::Fem::VTKFunctionWrapper< DF >::LocalCoordinateType

◆ LocalFunctionType

template<class DF >
typedef ConstLocalFunction< DF > Dune::Fem::VTKFunctionWrapper< DF >::LocalFunctionType

◆ RangeType

template<class DF >
typedef FunctionSpaceType::RangeType Dune::Fem::VTKFunctionWrapper< DF >::RangeType

Member Enumeration Documentation

◆ TypeOfField

Enumerator
real 
complex_real 
complex_imag 

Constructor & Destructor Documentation

◆ VTKFunctionWrapper()

template<class DF >
Dune::Fem::VTKFunctionWrapper< DF >::VTKFunctionWrapper ( const DiscreteFunctionType df,
const std::string &  dataName,
int  component,
bool  vector,
TypeOfField  typeOfField 
)
inline

constructor taking discrete function

◆ ~VTKFunctionWrapper()

template<class DF >
virtual Dune::Fem::VTKFunctionWrapper< DF >::~VTKFunctionWrapper ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ evaluate()

template<class DF >
virtual double Dune::Fem::VTKFunctionWrapper< DF >::evaluate ( int  comp,
const EntityType e,
const LocalCoordinateType xi 
) const
inlinevirtual

evaluate single component comp in the entity

◆ name()

template<class DF >
virtual std::string Dune::Fem::VTKFunctionWrapper< DF >::name ( ) const
inlinevirtual

get name

◆ ncomps()

template<class DF >
virtual int Dune::Fem::VTKFunctionWrapper< DF >::ncomps ( ) const
inlinevirtual

return number of components

Member Data Documentation

◆ dimDomain

template<class DF >
const int Dune::Fem::VTKFunctionWrapper< DF >::dimDomain = FunctionSpaceType::dimDomain
static

◆ dimRange

template<class DF >
const int Dune::Fem::VTKFunctionWrapper< DF >::dimRange = FunctionSpaceType::dimRange
static

The documentation for this class was generated from the following file: