concepts::FrmE_Component< F, G, H > Class Template Referenceabstract

Class representing a component of an element formula. More...

#include <frmE_component.hh>

Inheritance diagram for concepts::FrmE_Component< F, G, H >:
concepts::ElementFormula< typename Datatype< F >::type, typename Realtype< F >::type > concepts::Cloneable concepts::OutputOperator

Public Types

typedef typename Datatype< F >::type value_type
 

Public Member Functions

virtual FrmE_Component< F, G, H > * clone () const
 Virtual constructor. More...
 
virtual ElementFormula< typename Datatype< F >::type, typename Realtype< F >::type > * clone () const=0
 Virtual copy constructor. More...
 
 FrmE_Component (const ElementFormulaContainer< F, G > &frm, const uint comp)
 Constructor. More...
 
virtual H operator() (const ElementWithCell< G > &elm, const Real 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 ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtual typename Datatype< F >::type operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual typename Datatype< F >::type operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual typename Datatype< F >::type operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual ~FrmE_Component ()
 

Protected Member Functions

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

Private Attributes

uint comp_
 
ElementFormulaContainer< F, G > frm_
 

Detailed Description

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

Class representing a component of an element formula.

Parameters
Ftype of the original element formula.
Gtype of the basis functions.
Htype of the resulting element formula.
Author
Philipp Kliewe, 2013

Definition at line 28 of file frmE_component.hh.

Member Typedef Documentation

◆ value_type

typedef typename Datatype< F >::type concepts::ElementFormula< typename Datatype< F >::type , typename Realtype< F >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ FrmE_Component()

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
concepts::FrmE_Component< F, G, H >::FrmE_Component ( const ElementFormulaContainer< F, G > &  frm,
const uint  comp 
)
inline

Constructor.

Parameters
frmThe original element formula.
compThe number of the component (starting at 0).

Definition at line 36 of file frmE_component.hh.

◆ ~FrmE_Component()

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
virtual concepts::FrmE_Component< F, G, H >::~FrmE_Component ( )
inlinevirtual

Definition at line 41 of file frmE_component.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
virtual FrmE_Component<F,G,H>* concepts::FrmE_Component< F, G, H >::clone ( ) const
inlinevirtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 64 of file frmE_component.hh.

◆ clone() [2/2]

virtual ElementFormula<typename Datatype< F >::type ,typename Realtype< F >::type >* concepts::ElementFormula< typename Datatype< F >::type , typename Realtype< F >::type >::clone
pure virtualinherited

Virtual copy constructor.

◆ info()

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
virtual std::ostream& concepts::FrmE_Component< F, G, H >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 69 of file frmE_component.hh.

◆ operator()() [1/6]

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

Definition at line 43 of file frmE_component.hh.

◆ operator()() [2/6]

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

Definition at line 50 of file frmE_component.hh.

◆ operator()() [3/6]

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

Definition at line 57 of file frmE_component.hh.

◆ operator()() [4/6]

virtual typename Datatype< F >::type concepts::ElementFormula< typename Datatype< F >::type , typename Realtype< F >::type >::operator() ( const ElementWithCell< typename Realtype< F >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

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

◆ operator()() [5/6]

virtual typename Datatype< F >::type concepts::ElementFormula< typename Datatype< F >::type , typename Realtype< F >::type >::operator() ( const ElementWithCell< typename Realtype< F >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

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

◆ operator()() [6/6]

virtual typename Datatype< F >::type concepts::ElementFormula< typename Datatype< F >::type , typename Realtype< F >::type >::operator() ( const ElementWithCell< typename Realtype< F >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

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

Member Data Documentation

◆ comp_

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
uint concepts::FrmE_Component< F, G, H >::comp_
private

Definition at line 76 of file frmE_component.hh.

◆ frm_

template<class F , class G = typename Realtype<F>::type, class H = typename Datatype<F>::type>
ElementFormulaContainer<F,G> concepts::FrmE_Component< F, G, H >::frm_
private

Definition at line 75 of file frmE_component.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