Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::PiecewiseFormulaFun< F, G > Class Template Referenceabstract

#include <formula.hh>

Inheritance diagram for concepts::PiecewiseFormulaFun< F, G >:
concepts::PiecewiseFormulaBase< F > concepts::ElementFormula< F, concepts::Realtype< F >::type > concepts::Cloneable concepts::OutputOperator

Public Types

typedef concepts::Realtype< F >::type G
 
typedefvalue_type
 

Public Member Functions

 PiecewiseFormulaFun (PiecewiseFormulaBase< G > &formula)
 
virtual PiecewiseFormulaFun< F, G > * clone () const
 Virtual copy constructor.
 
virtualoperator() (const Connector &cell, const Real p, const Real t=0.0) const
 Gives the value in an particular cell on a particular point.
 
virtualoperator() (const Connector &cell, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const Connector &cell, const Real3d &p, const Real t=0.0) const
 
PiecewiseFormulaFun< F, G > & operator*= (const F n)
 
PiecewiseFormulaFun< F, G > & operator+= (const F n)
 
PiecewiseFormulaFun< F, G > & reciprocal ()
 
void clear ()
 Clears the operations.
 
virtualoperator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 
virtual const F & dflt_value () const
 Gives default value.
 
virtual F & dflt_value ()
 Gives default value.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<typename F, typename G = F>
class concepts::PiecewiseFormulaFun< F, G >

Piecewise defined function as an analytical function of another piecewiese defined function.

There are operations for the result of the contained function.

Author
Kersten Schmidt, 2005

Definition at line 425 of file formula.hh.

Member Typedef Documentation

◆ G

template<typename F >
typedef concepts::Realtype<F>::type concepts::PiecewiseFormulaBase< F >::G
inherited

Definition at line 45 of file piecewiseFormula.hh.

◆ value_type

typedef F concepts::ElementFormula< F, concepts::Realtype< F >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Member Function Documentation

◆ clone()

template<typename F , typename G = F>
virtual PiecewiseFormulaFun< F, G > * concepts::PiecewiseFormulaFun< F, G >::clone ( ) const
virtual

Virtual copy constructor.

Implements concepts::PiecewiseFormulaBase< F >.

◆ dflt_value() [1/2]

template<typename F >
virtual F & concepts::PiecewiseFormulaBase< F >::dflt_value ( )
inlinevirtualinherited

Gives default value.

Definition at line 83 of file piecewiseFormula.hh.

◆ dflt_value() [2/2]

template<typename F >
virtual const F & concepts::PiecewiseFormulaBase< F >::dflt_value ( ) const
inlinevirtualinherited

Gives default value.

Definition at line 81 of file piecewiseFormula.hh.

◆ info()

template<typename F , typename G = F>
virtual std::ostream & concepts::PiecewiseFormulaFun< F, G >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::PiecewiseFormulaBase< F >.

◆ operator()() [1/9]

template<typename F , typename G = F>
virtual F concepts::PiecewiseFormulaFun< F, G >::operator() ( const Connector cell,
const Real  p,
const Real  t = 0.0 
) const
virtual

Gives the value in an particular cell on a particular point.

Implements concepts::PiecewiseFormulaBase< F >.

◆ operator()() [2/9]

template<typename F , typename G = F>
virtual F concepts::PiecewiseFormulaFun< F, G >::operator() ( const Connector cell,
const Real2d p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [3/9]

template<typename F , typename G = F>
virtual F concepts::PiecewiseFormulaFun< F, G >::operator() ( const Connector cell,
const Real3d p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [4/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/9]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 52 of file piecewiseFormula.hh.

◆ operator()() [8/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 57 of file piecewiseFormula.hh.

◆ operator()() [9/9]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 63 of file piecewiseFormula.hh.


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