DOpE
Public Member Functions
DOpEWrapper::Function< dim > Class Template Reference

#include <function_wrapper.h>

Inheritance diagram for DOpEWrapper::Function< dim >:
DOpEWrapper::ZeroFunction< dim > DOpEWrapper::ConstantFunction< dim >

Public Member Functions

 Function (const unsigned int n_components=1, const double initial_time=0.0)
 
void vector_value (const dealii::Point< dim > &p, dealii::Vector< double > &return_value) const
 
virtual void SetTime (double) const
 
double InitialTime () const
 

Detailed Description

template<int dim>
class DOpEWrapper::Function< dim >

A dope function which is derived from the dealii function interface. This wrapper is needed to assert that the class have a method SetTime so that we have a unified way to comunicate the time in nonstationary problems.

Template Parameters
The considered function has dimension `dim'

Constructor & Destructor Documentation

template<int dim>
DOpEWrapper::Function< dim >::Function ( const unsigned int  n_components = 1,
const double  initial_time = 0.0 
)
inline

Member Function Documentation

template<int dim>
double DOpEWrapper::Function< dim >::InitialTime ( ) const
inline

Returns the initial time given in the constructor.

template<int dim>
virtual void DOpEWrapper::Function< dim >::SetTime ( double  ) const
inlinevirtual

Gives a dealii::Function the actual time within a time stepping scheme. Necessary when dealing with time dependent boundary conditions.

Parameters
Givesactual time to the function.

Reimplemented in DOpE::PrimalDirichletData< DD, VECTOR, dealdim >, and DOpE::TangentDirichletData< DD, VECTOR, dealdim >.

template<int dim>
void DOpEWrapper::Function< dim >::vector_value ( const dealii::Point< dim > &  p,
dealii::Vector< double > &  return_value 
) const
inline

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