dune-fem  2.4.1-rc
Public Types | Public Member Functions | List of all members
Dune::Fem::TimeDependentFunction< Function > Class Template Reference

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

Inheritance diagram for Dune::Fem::TimeDependentFunction< Function >:
Inheritance graph

Public Types

typedef BaseType::DomainType DomainType
 domain type More...
 

Public Member Functions

 TimeDependentFunction (const Function &function, double time)
 
void evaluate (const typename BaseType::DomainType &x, typename BaseType::RangeType &value) const
 evaluate the function More...
 
void jacobian (const typename BaseType::DomainType &x, typename BaseType::JacobianRangeType &jacobian) const
 evaluate the Jacobian of the function More...
 
void hessian (const typename BaseType::DomainType &x, typename BaseType::HessianRangeType &hessian) const
 evaluate the hessian of the function More...
 
Public member methods
void evaluate (const DomainType &x, typename BaseType::RangeType &value) const
 evaluate the function More...
 
void jacobian (const DomainType &x, typename BaseType::JacobianRangeType &jacobian) const
 evaluate the Jacobian of the function More...
 
void hessian (const DomainType &x, typename BaseType::HessianRangeType &hessian) const
 evaluate the hessian of the function More...
 
Set time
double setTime (double time)
 set time to give value More...
 
double time () const
 return set time More...
 

Member Typedef Documentation

typedef BaseType::DomainType Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::DomainType
inherited

domain type

Constructor & Destructor Documentation

template<class Function >
Dune::Fem::TimeDependentFunction< Function >::TimeDependentFunction ( const Function function,
double  time 
)
inline

Member Function Documentation

template<class Function >
void Dune::Fem::TimeDependentFunction< Function >::evaluate ( const typename BaseType::DomainType x,
typename BaseType::RangeType &  value 
) const
inline

evaluate the function

Parameters
[in]xevaluation point
[out]valuevalue of the function in x
Deprecated:
"Dune::Fem::TimeDependentFunction has been deprecated, use Dune::Fem::InstationaryFunction instead"

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

void Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::evaluate ( const DomainType x,
typename BaseType::RangeType value 
) const
inlineinherited

evaluate the function

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

References Dune::Fem::Function< FunctionSpace, Function >::evaluate(), and Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::time().

Referenced by Dune::Fem::TimeDependentFunction< Function >::evaluate().

template<class Function >
void Dune::Fem::TimeDependentFunction< Function >::hessian ( const typename BaseType::DomainType x,
typename BaseType::HessianRangeType &  hessian 
) const
inline

evaluate the hessian of the function

Parameters
[in]xevaluation point
[out]hessianvalue of the hessian in x
Deprecated:
"Dune::Fem::TimeDependentFunction has been deprecated, use Dune::Fem::InstationaryFunction instead"

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

void Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::hessian ( const DomainType x,
typename BaseType::HessianRangeType hessian 
) const
inlineinherited

evaluate the hessian of the function

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

References Dune::Fem::Function< FunctionSpace, Function >::hessian(), and Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::time().

Referenced by Dune::Fem::TimeDependentFunction< Function >::hessian().

template<class Function >
void Dune::Fem::TimeDependentFunction< Function >::jacobian ( const typename BaseType::DomainType x,
typename BaseType::JacobianRangeType &  jacobian 
) const
inline

evaluate the Jacobian of the function

Parameters
[in]xevaluation point
[out]jacobianvalue of the Jacobian in x
Deprecated:
"Dune::Fem::TimeDependentFunction has been deprecated, use Dune::Fem::InstationaryFunction instead"

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

void Dune::Fem::InstationaryFunction< Function, __InstationaryFunction::HoldReference >::jacobian ( const DomainType x,
typename BaseType::JacobianRangeType jacobian 
) const
inlineinherited

evaluate the Jacobian of the function

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

References Dune::Fem::Function< FunctionSpace, Function >::jacobian(), and Dune::Fem::BasicInstationaryFunction< FunctionSpace, Function >::time().

Referenced by Dune::Fem::TimeDependentFunction< Function >::jacobian().

double Dune::Fem::BasicInstationaryFunction< Function::FunctionSpaceType , InstationaryFunction< Function, __InstationaryFunction::HoldReference > >::setTime ( double  time)
inlineinherited

set time to give value

Parameters
[in]timetime to be used
Returns
set time
double Dune::Fem::BasicInstationaryFunction< Function::FunctionSpaceType , InstationaryFunction< Function, __InstationaryFunction::HoldReference > >::time ( ) const
inlineinherited

return set time


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