dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function > Class Template Reference

basic wrapper class (still a CRTP) for instationary functions More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/common/instationary.hh>

Inheritance diagram for Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >:
Inheritance graph

Public Types

typedef FunctionSpace FunctionSpaceType
 type of function space this function belongs to More...
 
typedef Function FunctionType
 type of the implementation (Barton-Nackman) More...
 
typedef FunctionSpaceType::DomainFieldType DomainFieldType
 field type of domain More...
 
typedef FunctionSpaceType::RangeFieldType RangeFieldType
 field type of range More...
 
typedef FunctionSpaceType::DomainType DomainType
 domain type More...
 
typedef FunctionSpaceType::RangeType RangeType
 range type More...
 
typedef FunctionSpaceType::JacobianRangeType JacobianRangeType
 jacobian type More...
 
typedef FunctionSpaceType::HessianRangeType HessianRangeType
 hessian type More...
 
typedef Mapping< DomainFieldType, RangeFieldType, DomainType, RangeTypeMappingType
 type of mapping base class More...
 

Public Member Functions

virtual void operator() (const DomainType &arg, RangeType &dest) const
 application operator call evaluate More...
 
void evaluate (const DomainType &x, RangeType &value) const
 evaluate the function More...
 
void jacobian (const DomainType &x, JacobianRangeType &jacobian) const
 evaluate the Jacobian of the function More...
 
void hessian (const DomainType &x, HessianRangeType &hessian) const
 evaluate the hessian of the function More...
 
Constructon
 BasicInstationaryFunction (double time)
 
Set time
double setTime (double time)
 set time to give value More...
 
double time () const
 return set time More...
 

Protected Member Functions

const FunctionasImp () const
 
FunctionasImp ()
 

Static Protected Member Functions

static const FunctionasImp (const ThisType &other)
 
static FunctionasImp (ThisType &other)
 

Detailed Description

template<class FunctionSpace, class Function>
class Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >

basic wrapper class (still a CRTP) for instationary functions

This class implements two methods

double setTime(double);
double time() const;

for wrapping some time dependent function and making it a Dune::Fem::Function that may only depend on spatial variables.

Member Typedef Documentation

field type of domain

domain type

type of function space this function belongs to

type of the implementation (Barton-Nackman)

hessian type

jacobian type

type of mapping base class

field type of range

range type

Constructor & Destructor Documentation

template<class FunctionSpace, class Function>
Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::BasicInstationaryFunction ( double  time)
inlineexplicit

Member Function Documentation

static const Function & Dune::Fem::BartonNackmanInterface< Function< FunctionSpace, Function > , Function >::asImp ( const ThisType other)
inlinestaticprotectedinherited
static Function & Dune::Fem::BartonNackmanInterface< Function< FunctionSpace, Function > , Function >::asImp ( ThisType other)
inlinestaticprotectedinherited
const Function & Dune::Fem::BartonNackmanInterface< Function< FunctionSpace, Function > , Function >::asImp ( ) const
inlineprotectedinherited
Function & Dune::Fem::BartonNackmanInterface< Function< FunctionSpace, Function > , Function >::asImp ( )
inlineprotectedinherited
void Dune::Fem::Function< FunctionSpace , Function >::evaluate ( const DomainType x,
RangeType value 
) const
inlineinherited

evaluate the function

Parameters
[in]xevaluation point
[out]valuevalue of the function in x

Referenced by Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::evaluate().

void Dune::Fem::Function< FunctionSpace , Function >::hessian ( const DomainType x,
HessianRangeType hessian 
) const
inlineinherited

evaluate the hessian of the function

Parameters
[in]xevaluation point
[out]hessianvalue of the hessian in x

Referenced by Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::hessian().

void Dune::Fem::Function< FunctionSpace , Function >::jacobian ( const DomainType x,
JacobianRangeType jacobian 
) const
inlineinherited

evaluate the Jacobian of the function

Parameters
[in]xevaluation point
[out]jacobianvalue of the Jacobian in x

Referenced by Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::jacobian().

virtual void Dune::Fem::Function< FunctionSpace , Function >::operator() ( const DomainType arg,
RangeType dest 
) const
inlinevirtualinherited

application operator call evaluate

Parameters
[in]argargument
[out]destdestination, i.e. f(arg)
template<class FunctionSpace, class Function>
double Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::setTime ( double  time)
inline

set time to give value

Parameters
[in]timetime to be used
Returns
set time
template<class FunctionSpace, class Function>
double Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::time ( ) const
inline

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