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

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
concepts::PiecewiseFormulaVector< 1, F, G, H > Class Template Reference

#include <formula.hh>

Inheritance diagram for concepts::PiecewiseFormulaVector< 1, F, G, H >:
Inheritance graph
[legend]
Collaboration diagram for concepts::PiecewiseFormulaVector< 1, F, G, H >:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual PiecewiseFormulaVector
< 1, F, G, H > * 
clone () const
 Virtual copy constructor.
virtual const H & dflt_value () const
 Gives default value.
virtual H & dflt_value ()
 Gives default value.
virtual H operator() (const ElementWithCell< concepts::Realtype< H >::type > &elm, const Real3d &p, const Real t=0.0) const =0
virtual H operator() (const ElementWithCell< concepts::Realtype< H >::type > &elm, const Real2d &p, const Real t=0.0) const =0
virtual H operator() (const ElementWithCell< concepts::Realtype< H >::type > &elm, const Real p, const Real t=0.0) const =0
 Evaluates the formula.
virtual H operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const
virtual H operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
virtual H operator() (const Connector &cell, const Real p, const Real t=0.0) const
 Gives the value in an particular cell on a particular point.
virtual H operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const
virtual H operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
virtual H operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 PiecewiseFormulaVector (const Space< G > &spc, const Vector< F > &coeff, const ElementFunction< H, G > &fun)

Protected Member Functions

const ElementWithCell< G > * element_ (const Connector &cell) const
 Returns pointer to the element to which the cell cell or one of their children belongs.
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

Array< F > coeff_
 Solution vector.
std::map< uint, const
ElementWithCell< G > * > 
elm_
 Mapping from cell key to the element.
const ElementFunction< H, G > * fun_
 Function of the FE function.
const Space< G > & spc_
 Space.

Detailed Description

template<class F, class G, class H>
class concepts::PiecewiseFormulaVector< 1, F, G, H >

Definition at line 175 of file formula.hh.


Member Typedef Documentation

typedef concepts::Realtype<H >::type concepts::PiecewiseFormulaBase< H >::G [inherited]

Definition at line 40 of file piecewiseFormula.hh.

typedef H concepts::ElementFormula< H , concepts::Realtype< H >::type >::value_type [inherited]

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

template<class F , class G , class H >
concepts::PiecewiseFormulaVector< 1, F, G, H >::PiecewiseFormulaVector ( const Space< G > &  spc,
const Vector< F > &  coeff,
const ElementFunction< H, G > &  fun 
)

Definition at line 195 of file formula.hh.


Member Function Documentation

template<class F , class G , class H >
virtual PiecewiseFormulaVector<1,F,G,H>* concepts::PiecewiseFormulaVector< 1, F, G, H >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::PiecewiseFormulaBase< H >.

Definition at line 180 of file formula.hh.

Here is the call graph for this function:

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

Gives default value.

Definition at line 76 of file piecewiseFormula.hh.

virtual H & concepts::PiecewiseFormulaBase< H >::dflt_value ( ) [inline, virtual, inherited]

Gives default value.

Definition at line 78 of file piecewiseFormula.hh.

const ElementWithCell<G>* concepts::PiecewiseFormulaVectorBase< F, G, H, H >::element_ ( const Connector cell) const [protected, inherited]

Returns pointer to the element to which the cell cell or one of their children belongs.

If not such a element exists, null pointer is returned.

virtual std::ostream& concepts::PiecewiseFormulaBase< H >::info ( std::ostream &  os) const [protected, virtual, inherited]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

virtual H concepts::ElementFormula< H , concepts::Realtype< H >::type >::operator() ( const ElementWithCell< concepts::Realtype< H >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [pure virtual, inherited]
virtual H concepts::ElementFormula< H , concepts::Realtype< H >::type >::operator() ( const ElementWithCell< concepts::Realtype< H >::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
virtual H concepts::PiecewiseFormulaBase< H >::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<class F , class G , class H >
H concepts::PiecewiseFormulaVector< 1, F, G, H >::operator() ( const Connector cell,
const Real2d p,
const Real  t = 0.0 
) const [virtual]

Implements concepts::PiecewiseFormulaBase< H >.

Definition at line 216 of file formula.hh.

Here is the call graph for this function:

virtual H concepts::PiecewiseFormulaBase< H >::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<class F , class G , class H >
H concepts::PiecewiseFormulaVector< 1, F, G, H >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const [virtual]

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

Parameters:
celltopological cell
pphysical coordinates
ttime

Implements concepts::PiecewiseFormulaBase< H >.

Definition at line 201 of file formula.hh.

Here is the call graph for this function:

template<class F , class G , class H >
H concepts::PiecewiseFormulaVector< 1, F, G, H >::operator() ( const Connector cell,
const Real3d p,
const Real  t = 0.0 
) const [virtual]

Implements concepts::PiecewiseFormulaBase< H >.

Definition at line 234 of file formula.hh.

Here is the call graph for this function:

virtual H concepts::ElementFormula< H , concepts::Realtype< H >::type >::operator() ( const ElementWithCell< concepts::Realtype< H >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [pure virtual, inherited]
virtual H concepts::PiecewiseFormulaBase< H >::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.


Member Data Documentation

Array<F> concepts::PiecewiseFormulaVectorBase< F, G, H, H >::coeff_ [protected, inherited]

Solution vector.

Definition at line 41 of file formula.hh.

std::map<uint, const ElementWithCell<G>*> concepts::PiecewiseFormulaVectorBase< F, G, H, H >::elm_ [protected, inherited]

Mapping from cell key to the element.

Definition at line 45 of file formula.hh.

const ElementFunction<H ,G>* concepts::PiecewiseFormulaVectorBase< F, G, H, H >::fun_ [protected, inherited]

Function of the FE function.

Definition at line 43 of file formula.hh.

const Space<G>& concepts::PiecewiseFormulaVectorBase< F, G, H, H >::spc_ [protected, inherited]

Space.

Definition at line 39 of file formula.hh.


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

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