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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::ElementFormulaLiCo< F, G, H, J > Class Template Reference

#include <formula.hh>

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

List of all members.

Public Types

typedef F value_type

Public Member Functions

virtual ElementFormulaLiCo< F,
G, H, J > * 
clone () const
 Virtual copy constructor.
 ElementFormulaLiCo (const ElementFormulaLiCo< F, G, H, J > &frm)
 ElementFormulaLiCo (const ElementFormula< F, J > &frm1, const ElementFormula< G, J > &frm2, H a=1.0, H b=1.0)
virtual F operator() (const ElementWithCell< J > &elm, const Real2d &p, const Real t=0.0) const
virtual F operator() (const ElementWithCell< J > &elm, const Real p, const Real t=0.0) const
 Evaluates the formula.
virtual F operator() (const ElementWithCell< J > &elm, const Real3d &p, const Real t=0.0) const
virtual ~ElementFormulaLiCo ()

Protected Member Functions

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

Private Member Functions

template<typename P >
combine_ (const ElementWithCell< J > &elm, const P &p, const Real t=0.0) const
 Method for calculating the return value.

Private Attributes

const H a_
 Scalar factors.
const H b_
std::auto_ptr< const
ElementFormula< F, J > > 
frm1_
 1st element formulas
std::auto_ptr< const
ElementFormula< G, J > > 
frm2_
 2nd element formulas

Detailed Description

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
class concepts::ElementFormulaLiCo< F, G, H, J >

Definition at line 37 of file formula.hh.


Member Typedef Documentation

typedef F concepts::ElementFormula< F, J >::value_type [inherited]

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
concepts::ElementFormulaLiCo< F, G, H, J >::ElementFormulaLiCo ( const ElementFormula< F, J > &  frm1,
const ElementFormula< G, J > &  frm2,
a = 1.0,
b = 1.0 
) [inline]

Definition at line 39 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
concepts::ElementFormulaLiCo< F, G, H, J >::ElementFormulaLiCo ( const ElementFormulaLiCo< F, G, H, J > &  frm) [inline]

Definition at line 43 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
virtual concepts::ElementFormulaLiCo< F, G, H, J >::~ElementFormulaLiCo ( ) [inline, virtual]

Definition at line 46 of file formula.hh.


Member Function Documentation

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
virtual ElementFormulaLiCo<F,G,H,J>* concepts::ElementFormulaLiCo< F, G, H, J >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F, J >.

Definition at line 61 of file formula.hh.

template<typename F , typename G , typename H , typename J >
template<typename P >
F concepts::ElementFormulaLiCo< F, G, H, J >::combine_ ( const ElementWithCell< J > &  elm,
const P &  p,
const Real  t = 0.0 
) const [private]

Method for calculating the return value.

Definition at line 81 of file formula.hh.

template<typename F , typename G , typename H , typename J >
std::ostream & concepts::ElementFormulaLiCo< F, G, H, J >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 89 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
virtual F concepts::ElementFormulaLiCo< F, G, H, J >::operator() ( const ElementWithCell< J > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Implements concepts::ElementFormula< F, J >.

Definition at line 53 of file formula.hh.

Here is the call graph for this function:

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
virtual F concepts::ElementFormulaLiCo< F, G, H, J >::operator() ( const ElementWithCell< J > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [inline, virtual]

Implements concepts::ElementFormula< F, J >.

Definition at line 57 of file formula.hh.

Here is the call graph for this function:

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
virtual F concepts::ElementFormulaLiCo< F, G, H, J >::operator() ( const ElementWithCell< J > &  elm,
const Real  p,
const Real  t = 0.0 
) const [inline, virtual]

Evaluates the formula.

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

Implements concepts::ElementFormula< F, J >.

Definition at line 49 of file formula.hh.

Here is the call graph for this function:


Member Data Documentation

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
const H concepts::ElementFormulaLiCo< F, G, H, J >::a_ [private]

Scalar factors.

Definition at line 72 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
const H concepts::ElementFormulaLiCo< F, G, H, J >::b_ [private]

Definition at line 72 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
std::auto_ptr<const ElementFormula<F,J> > concepts::ElementFormulaLiCo< F, G, H, J >::frm1_ [private]

1st element formulas

Definition at line 68 of file formula.hh.

template<class F = Real, class G = F, class H = F, class J = typename Realtype<F>::type>
std::auto_ptr<const ElementFormula<G,J> > concepts::ElementFormulaLiCo< F, G, H, J >::frm2_ [private]

2nd element formulas

Definition at line 70 of file formula.hh.


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

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