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

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

Piecewise constant function defined by attributes, base on dynamic array. More...

#include <formula.hh>

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

List of all members.

Public Types

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

Public Member Functions

virtual
PiecewiseConstDynArrayFormula
< F > * 
clone () const
 Virtual copy constructor.
virtual const F & dflt_value () const
 Gives default value.
virtual F & dflt_value ()
 Gives default value.
virtual F operator() (const Connector &cell, const Real p, const Real t=0.0) const
 Gives the constant in an particular cell.
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 ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
virtual F operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
virtual F operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const
virtual F operator() (const Connector &cell, const Real2d &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
 PiecewiseConstDynArrayFormula (const DynArray< F > &formula)
 ~PiecewiseConstDynArrayFormula ()

Protected Member Functions

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

Private Attributes

const DynArray< F > * formula_

Detailed Description

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

Piecewise constant function defined by attributes, base on dynamic array.

Author:
Kersten Schmidt, 2005

Definition at line 181 of file formula.hh.


Member Typedef Documentation

template<typename F>
typedef concepts::Realtype<F>::type concepts::PiecewiseFormulaBase< F >::G [inherited]
typedef F concepts::ElementFormula< F, concepts::Realtype< F >::type >::value_type [inherited]

Reimplemented in concepts::Formula< F >.

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

template<typename F = Real>
concepts::PiecewiseConstDynArrayFormula< F >::PiecewiseConstDynArrayFormula ( const DynArray< F > &  formula)

Member Function Documentation

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

Virtual copy constructor.

Implements concepts::PiecewiseFormulaBase< F >.

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::PiecewiseConstDynArrayFormula< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::PiecewiseFormulaBase< F >.

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 = Real>
virtual F concepts::PiecewiseConstDynArrayFormula< F >::operator() ( const Connector cell,
const Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 190 of file formula.hh.

Here is the call graph for this function:

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

Gives the constant in an particular cell.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 187 of file formula.hh.

Here is the call graph for this function:

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

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 193 of file formula.hh.

Here is the call graph for this function:

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.

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]

Member Data Documentation

template<typename F = Real>
const DynArray<F>* concepts::PiecewiseConstDynArrayFormula< F >::formula_ [private]

Definition at line 199 of file formula.hh.


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

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