concepts::Frm_Product< F, H, J > Class Template Reference

Class for a product of formula. More...

#include <frm_product.hh>

Inheritance diagram for concepts::Frm_Product< F, H, J >:
concepts::Formula< F >

Public Types

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

Public Member Functions

virtual Frm_Product< F, H, J > * clone () const
 
 Frm_Product (const FormulaContainer< H > frm1, const FormulaContainer< J > frm2)
 
virtual F operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual F operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual F operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

const FormulaContainer< H > frm1_
 First Formula. More...
 
const FormulaContainer< J > frm2_
 Second Formula. More...
 

Detailed Description

template<class F, class H = F, class J = F>
class concepts::Frm_Product< F, H, J >

Class for a product of formula.

Result of formula is product of the results of the formulas.

Generalisation of the former class ComposeFormula.

Author
Kersten Schmidt, 2010, 2017

Definition at line 31 of file frm_product.hh.

Member Typedef Documentation

◆ G

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

Definition at line 37 of file formula.hh.

◆ value_type

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

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ Frm_Product()

template<class F , class H = F, class J = F>
concepts::Frm_Product< F, H, J >::Frm_Product ( const FormulaContainer< H >  frm1,
const FormulaContainer< J >  frm2 
)
inline

Definition at line 33 of file frm_product.hh.

Member Function Documentation

◆ clone()

template<class F , class H = F, class J = F>
virtual Frm_Product<F,H,J>* concepts::Frm_Product< F, H, J >::clone ( ) const
inlinevirtual

Implements concepts::Formula< F >.

Definition at line 49 of file frm_product.hh.

◆ info()

template<class F , class H = F, class J = F>
virtual std::ostream& concepts::Frm_Product< F, H, J >::info ( std::ostream &  os) const
inlineprotectedvirtual

Definition at line 53 of file frm_product.hh.

◆ operator()() [1/6]

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

Convenience implementation, that by default ignores its elm param.

Reimplemented in concepts::FormulaFromElementFormula< dim, F, G >.

Definition at line 53 of file formula.hh.

◆ operator()() [2/6]

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

Convenience implementation, that by default ignores its elm param.

Reimplemented in concepts::FormulaFromElementFormula< dim, F, G >.

Definition at line 56 of file formula.hh.

◆ operator()() [3/6]

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

Convenience implementation, that by default ignores its elm param.

Reimplemented in concepts::FormulaFromElementFormula< dim, F, G >.

Definition at line 59 of file formula.hh.

◆ operator()() [4/6]

template<class F , class H = F, class J = F>
virtual F concepts::Frm_Product< F, H, J >::operator() ( const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 40 of file frm_product.hh.

◆ operator()() [5/6]

template<class F , class H = F, class J = F>
virtual F concepts::Frm_Product< F, H, J >::operator() ( const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 43 of file frm_product.hh.

◆ operator()() [6/6]

template<class F , class H = F, class J = F>
virtual F concepts::Frm_Product< F, H, J >::operator() ( const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< F >.

Definition at line 46 of file frm_product.hh.

Member Data Documentation

◆ frm1_

template<class F , class H = F, class J = F>
const FormulaContainer<H> concepts::Frm_Product< F, H, J >::frm1_
private

First Formula.

Definition at line 58 of file frm_product.hh.

◆ frm2_

template<class F , class H = F, class J = F>
const FormulaContainer<J> concepts::Frm_Product< F, H, J >::frm2_
private

Second Formula.

Definition at line 60 of file frm_product.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich