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

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

Product of two element formulas or an element formula and a factor. More...

#include <frmE_product.hh>

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

List of all members.

Public Types

typedef F value_type

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

 FrmE_Product (const ElementFormulaContainer< H > frm1, const ElementFormulaContainer< J > frm2, const RCP< J > a)
 Private constructor.

Private Attributes

RCP< J > a_
 Constant factor instead of an ElementFormula (not necessary scalar)
ElementFormulaContainer< H > frm1_
 First ElementFormula.
ElementFormulaContainer< J > frm2_
 Second ElementFormula.

Detailed Description

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
class concepts::FrmE_Product< F, H, J, G >

Product of two element formulas or an element formula and a factor.

Parameters:
Ftype of the product element formula
Htype of the first element formula
Jtype of the second element formula or the factor
Gtype of the basis functions
Author:
Kersten Schmidt, 2010

Definition at line 37 of file frmE_product.hh.


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
concepts::FrmE_Product< F, H, J, G >::FrmE_Product ( const ElementFormulaContainer< H >  frm1,
const ElementFormulaContainer< J >  frm2 
) [inline]

Definition at line 39 of file frmE_product.hh.

Here is the call graph for this function:

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
concepts::FrmE_Product< F, H, J, G >::FrmE_Product ( const ElementFormulaContainer< H >  frm1,
const J  a 
) [inline]

Definition at line 46 of file frmE_product.hh.

Here is the call graph for this function:

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

Copy constructor.

Definition at line 54 of file frmE_product.hh.

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

Definition at line 57 of file frmE_product.hh.

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
concepts::FrmE_Product< F, H, J, G >::FrmE_Product ( const ElementFormulaContainer< H >  frm1,
const ElementFormulaContainer< J >  frm2,
const RCP< J >  a 
) [inline, private]

Private constructor.

Definition at line 117 of file frmE_product.hh.

Here is the call graph for this function:


Member Function Documentation

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

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 94 of file frmE_product.hh.

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
virtual std::ostream& concepts::FrmE_Product< F, H, J, G >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 99 of file frmE_product.hh.

Here is the call graph for this function:

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

Implements concepts::ElementFormula< F, G >.

Definition at line 72 of file frmE_product.hh.

Here is the call graph for this function:

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

Implements concepts::ElementFormula< F, G >.

Definition at line 83 of file frmE_product.hh.

Here is the call graph for this function:

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
virtual F concepts::FrmE_Product< F, H, J, G >::operator() ( const ElementWithCell< G > &  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, G >.

Definition at line 61 of file frmE_product.hh.

Here is the call graph for this function:


Member Data Documentation

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
RCP<J> concepts::FrmE_Product< F, H, J, G >::a_ [private]

Constant factor instead of an ElementFormula (not necessary scalar)

Definition at line 114 of file frmE_product.hh.

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
ElementFormulaContainer<H> concepts::FrmE_Product< F, H, J, G >::frm1_ [private]

First ElementFormula.

Definition at line 110 of file frmE_product.hh.

template<typename F, typename H = F, typename J = typename Datatype<F>::type, typename G = typename Realtype<F>::type>
ElementFormulaContainer<J> concepts::FrmE_Product< F, H, J, G >::frm2_ [private]

Second ElementFormula.

Definition at line 112 of file frmE_product.hh.


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

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