concepts::FrmE_Component_Matrix< 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_Matrix< 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_Matrix< 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_Matrix (const ElementFormulaContainer< F, G > &frm, const uint compRow, const uint compCol)
 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_Matrix ()
 

Protected Member Functions

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

Private Attributes

uint compCol_
 
uint compRow_
 
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_Matrix< 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
Kersten Schmidt, 2014

Definition at line 91 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_Matrix()

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

Constructor.

Parameters
frmThe original element formula.
compRowThe row number of the component (starting at 0).
compColThe column number of the component (starting at 0).

Definition at line 100 of file frmE_component.hh.

◆ ~FrmE_Component_Matrix()

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

Definition at line 106 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_Matrix<F,G,H>* concepts::FrmE_Component_Matrix< 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 129 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 ( ) const
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_Matrix< F, G, H >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 134 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_Matrix< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 108 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_Matrix< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 115 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_Matrix< F, G, H >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 122 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< G > &  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< G > &  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< G > &  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

◆ compCol_

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

Definition at line 141 of file frmE_component.hh.

◆ compRow_

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

Definition at line 141 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_Matrix< F, G, H >::frm_
private

Definition at line 139 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