Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Attributes
concepts::ConstFormula< F > Class Template Reference

Class for a constant formula. More...

#include <constFormula.hh>

Inheritance diagram for concepts::ConstFormula< F >:
Inheritance graph
[legend]
Collaboration diagram for concepts::ConstFormula< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Realtype< F >::type G
typedef F value_type

Public Member Functions

virtual ConstFormula< F > * clone () const
 Virtual copy constructor.
 ConstFormula (const F a=F(1.0))
virtual F & dflt_value ()
 Gives default value.
virtual const F & dflt_value () const
 Gives default value.
virtual F operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const =0
virtual F operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const =0
 Evaluates the formula.
virtual F operator() (const Real p, const Real t=0.0) const
 Application operator.
virtual F operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
virtual F operator() (const Real3d &p, const Real t=0.0) const
 Application operator.
virtual F operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
virtual F operator() (const Real2d &p, const Real t=0.0) const
 Application operator.
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
virtual F operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const =0
ConstFormula< F > & operator= (const F a)
virtual ~ConstFormula ()
virtual F operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param.
virtual F operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param.
virtual F operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param.

Protected Member Functions

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

Private Attributes

a_

Detailed Description

template<typename F = Real>
class concepts::ConstFormula< F >

Class for a constant formula.

Author:
Kersten Schmidt, 2010
Examples:

BGT_0.cc, and exactDtN.cc.

Definition at line 24 of file constFormula.hh.


Member Typedef Documentation

template<typename F>
typedef Realtype<F>::type concepts::Formula< F >::G [inherited]

Reimplemented from concepts::PiecewiseFormulaBase< F >.

Definition at line 35 of file formula.hh.

template<typename F>
typedef F concepts::Formula< F >::value_type [inherited]

Reimplemented from concepts::ElementFormula< F, concepts::Realtype< F >::type >.

Reimplemented in concepts::VectorFormula< F, dim >.

Definition at line 34 of file formula.hh.


Constructor & Destructor Documentation

template<typename F = Real>
concepts::ConstFormula< F >::ConstFormula ( const F  a = F(1.0)) [inline]

Definition at line 26 of file constFormula.hh.

template<typename F = Real>
virtual concepts::ConstFormula< F >::~ConstFormula ( ) [inline, virtual]

Definition at line 38 of file constFormula.hh.


Member Function Documentation

template<typename F = Real>
virtual ConstFormula<F>* concepts::ConstFormula< F >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::Formula< F >.

Definition at line 41 of file constFormula.hh.

template<typename F>
virtual const F& concepts::PiecewiseFormulaBase< F >::dflt_value ( ) const [inline, virtual, inherited]

Gives default value.

Definition at line 76 of file piecewiseFormula.hh.

template<typename F>
virtual F& concepts::PiecewiseFormulaBase< F >::dflt_value ( ) [inline, virtual, inherited]

Gives default value.

Definition at line 78 of file piecewiseFormula.hh.

template<typename F = Real>
virtual std::ostream& concepts::ConstFormula< F >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::PiecewiseFormulaBase< F >.

Definition at line 49 of file constFormula.hh.

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 virtual, inherited]
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 virtual, inherited]

Evaluates the formula.

Parameters:
elmElement
pPoint in space in local element coordinates
tPoint in time
template<typename F>
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [inline, virtual, inherited]

Definition at line 58 of file piecewiseFormula.hh.

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

Definition at line 52 of file piecewiseFormula.hh.

template<typename F>
virtual F concepts::Formula< F >::operator() ( const Connector cntr,
const Real2d p,
const Real  t = 0.0 
) const [inline, virtual, inherited]

Convenience implementation, that by default ignores its elm param.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 54 of file formula.hh.

template<typename F>
virtual F concepts::Formula< F >::operator() ( const Connector cntr,
const Real3d p,
const Real  t = 0.0 
) const [inline, virtual, inherited]

Convenience implementation, that by default ignores its elm param.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 57 of file formula.hh.

template<typename F = Real>
virtual F concepts::ConstFormula< F >::operator() ( const Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Application operator.

Evaluates the formula.

Parameters:
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 32 of file constFormula.hh.

template<typename F>
virtual F concepts::Formula< F >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const [inline, virtual, inherited]

Convenience implementation, that by default ignores its elm param.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 51 of file formula.hh.

template<typename F = Real>
virtual F concepts::ConstFormula< F >::operator() ( const Real3d p,
const Real  t = 0.0 
) const [inline, virtual]

Application operator.

Evaluates the formula.

Parameters:
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 35 of file constFormula.hh.

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

Definition at line 47 of file piecewiseFormula.hh.

template<typename F = Real>
virtual F concepts::ConstFormula< F >::operator() ( const Real  p,
const Real  t = 0.0 
) const [inline, virtual]

Application operator.

Evaluates the formula.

Parameters:
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 29 of file constFormula.hh.

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 virtual, inherited]
template<typename F = Real>
ConstFormula<F>& concepts::ConstFormula< F >::operator= ( const F  a) [inline]

Definition at line 44 of file constFormula.hh.


Member Data Documentation

template<typename F = Real>
F concepts::ConstFormula< F >::a_ [private]

Definition at line 53 of file constFormula.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)