concepts::ElementFormulaCompose< F, G, H > Class Template Reference

#include <formula.hh>

Inheritance diagram for concepts::ElementFormulaCompose< F, G, H >:
concepts::ElementFormula< F, G > concepts::Cloneable concepts::OutputOperator

Public Types

typedef F value_type
 

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

template<typename P >
compose_ (const ElementWithCell< G > &elm, const P &p, const Real t=0.0) const
 

Private Attributes

std::unique_ptr< const ElementFormula< H, G > > frm1_
 
std::unique_ptr< const ElementFormula< H, G > > frm2_
 

Detailed Description

template<typename F, typename G, typename H>
class concepts::ElementFormulaCompose< F, G, H >

Definition at line 126 of file formula.hh.

Member Typedef Documentation

◆ value_type

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

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ ElementFormulaCompose() [1/2]

template<typename F , typename G , typename H >
concepts::ElementFormulaCompose< F, G, H >::ElementFormulaCompose ( const ElementFormula< H, G > &  frm1,
const ElementFormula< H, G > &  frm2 
)
inline

Definition at line 128 of file formula.hh.

◆ ElementFormulaCompose() [2/2]

template<typename F , typename G , typename H >
concepts::ElementFormulaCompose< F, G, H >::ElementFormulaCompose ( const ElementFormulaCompose< F, G, H > &  frm)
inline

Definition at line 131 of file formula.hh.

◆ ~ElementFormulaCompose()

template<typename F , typename G , typename H >
virtual concepts::ElementFormulaCompose< F, G, H >::~ElementFormulaCompose ( )
inlinevirtual

Definition at line 133 of file formula.hh.

Member Function Documentation

◆ clone()

template<typename F , typename G , typename H >
virtual ElementFormulaCompose<F,G,H>* concepts::ElementFormulaCompose< F, G, H >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 148 of file formula.hh.

◆ compose_()

template<typename F , typename G , typename H >
template<typename P >
F concepts::ElementFormulaCompose< F, G, H >::compose_ ( const ElementWithCell< G > &  elm,
const P &  p,
const Real  t = 0.0 
) const
private

Definition at line 162 of file formula.hh.

◆ info()

template<typename F , typename G , typename H >
std::ostream & concepts::ElementFormulaCompose< F, G, H >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 168 of file formula.hh.

◆ operator()() [1/3]

template<typename F , typename G , typename H >
virtual F concepts::ElementFormulaCompose< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

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

Implements concepts::ElementFormula< F, G >.

Definition at line 136 of file formula.hh.

◆ operator()() [2/3]

template<typename F , typename G , typename H >
virtual F concepts::ElementFormulaCompose< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

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

Implements concepts::ElementFormula< F, G >.

Definition at line 140 of file formula.hh.

◆ operator()() [3/3]

template<typename F , typename G , typename H >
virtual F concepts::ElementFormulaCompose< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

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

Implements concepts::ElementFormula< F, G >.

Definition at line 144 of file formula.hh.

Member Data Documentation

◆ frm1_

template<typename F , typename G , typename H >
std::unique_ptr<const ElementFormula<H,G> > concepts::ElementFormulaCompose< F, G, H >::frm1_
private

Definition at line 154 of file formula.hh.

◆ frm2_

template<typename F , typename G , typename H >
std::unique_ptr<const ElementFormula<H,G> > concepts::ElementFormulaCompose< F, G, H >::frm2_
private

Definition at line 154 of file formula.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