dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::VTKFunctionWrapper< DF > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/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 DiscreteFunctionType::LocalFunctionType 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 More...
 
virtual ~VTKFunctionWrapper ()
 virtual destructor More...
 
virtual int ncomps () const
 return number of components More...
 
virtual double evaluate (int comp, const EntityType &e, const LocalCoordinateType &xi) const
 
virtual std::string name () const
 get name More...
 

Static Public Attributes

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

Member Typedef Documentation

template<class DF >
typedef DF Dune::Fem::VTKFunctionWrapper< DF >::DiscreteFunctionType
template<class DF >
typedef FunctionSpaceType::DomainType Dune::Fem::VTKFunctionWrapper< DF >::DomainType
template<class DF >
typedef GridPartType::template Codim< 0 >::EntityType Dune::Fem::VTKFunctionWrapper< DF >::EntityType
template<class DF >
typedef DiscreteFunctionType::FunctionSpaceType Dune::Fem::VTKFunctionWrapper< DF >::FunctionSpaceType
template<class DF >
typedef DiscreteFunctionType::GridPartType Dune::Fem::VTKFunctionWrapper< DF >::GridPartType
template<class DF >
typedef EntityType::Geometry::LocalCoordinate Dune::Fem::VTKFunctionWrapper< DF >::LocalCoordinateType
template<class DF >
typedef DiscreteFunctionType::LocalFunctionType Dune::Fem::VTKFunctionWrapper< DF >::LocalFunctionType
template<class DF >
typedef FunctionSpaceType::RangeType Dune::Fem::VTKFunctionWrapper< DF >::RangeType

Member Enumeration Documentation

Enumerator
real 
complex_real 
complex_imag 

Constructor & Destructor Documentation

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

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

virtual destructor

Member Function Documentation

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

References Dune::Fem::imag(), and Dune::Fem::real().

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

return number of components

Member Data Documentation

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

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