Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::VectorElementFormulaBase< F, dim, G > Class Template Reference

#include <vectorElementFormula.hh>

Inheritance diagram for concepts::VectorElementFormulaBase< F, dim, G >:
concepts::ElementFormula< F, G > concepts::Cloneable concepts::OutputOperator concepts::VectorElementFormula< F, dim, G >

Public Types

typedefvalue_type
 

Public Member Functions

 VectorElementFormulaBase (const std::vector< ElementFormulaContainer< F, G > > &formulas)
 
Point< F, dim > operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
Point< F, dim > operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
Point< F, dim > operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtual VectorElementFormulaBase< F, dim, G > * clone () const
 Virtual copy constructor.
 
const std::vector< ElementFormulaContainer< F, G > > & getFormulas ()
 
ElementFormulaContainer< F, G > & operator[] (int i)
 

Protected Member Functions

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

Protected Attributes

std::vector< ElementFormulaContainer< F, G > > formulas_
 

Detailed Description

template<typename F, int dim, typename G = typename Realtype<F>::type>
class concepts::VectorElementFormulaBase< F, dim, G >

Element formula returning a vector.

Author
Kersten Schmidt, 2010

Definition at line 26 of file vectorElementFormula.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

◆ VectorElementFormulaBase() [1/2]

template<typename F , int dim, typename G = typename Realtype<F>::type>
concepts::VectorElementFormulaBase< F, dim, G >::VectorElementFormulaBase ( )
inline

Definition at line 1 of file vectorElementFormula.hh.

◆ VectorElementFormulaBase() [2/2]

template<typename F , int dim, typename G = typename Realtype<F>::type>
concepts::VectorElementFormulaBase< F, dim, G >::VectorElementFormulaBase ( const std::vector< ElementFormulaContainer< F, G > > &  formulas)
inline

Combines a vector of dim ElementFormulas to a VectorElementFormulaBase.

Each ElementFormula is given as a ElementFormulaContainer

Definition at line 1 of file vectorElementFormula.hh.

◆ ~VectorElementFormulaBase()

template<typename F , int dim, typename G = typename Realtype<F>::type>
virtual concepts::VectorElementFormulaBase< F, dim, G >::~VectorElementFormulaBase ( )
inlinevirtual

Definition at line 92 of file vectorElementFormula.hh.

Member Function Documentation

◆ clone()

template<typename F , int dim, typename G = typename Realtype<F>::type>
virtual VectorElementFormulaBase< F, dim, G > * concepts::VectorElementFormulaBase< F, dim, G >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 81 of file vectorElementFormula.hh.

◆ getFormulas()

template<typename F , int dim, typename G = typename Realtype<F>::type>
const std::vector< ElementFormulaContainer< F, G > > & concepts::VectorElementFormulaBase< F, dim, G >::getFormulas ( )
inline

Definition at line 94 of file vectorElementFormula.hh.

◆ info()

template<typename F , int dim, typename G = typename Realtype<F>::type>
virtual std::ostream & concepts::VectorElementFormulaBase< F, dim, G >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 109 of file vectorElementFormula.hh.

◆ operator()() [1/3]

template<typename F , int dim, typename G = typename Realtype<F>::type>
Point< F, dim > concepts::VectorElementFormulaBase< F, dim, G >::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 51 of file vectorElementFormula.hh.

◆ operator()() [2/3]

template<typename F , int dim, typename G = typename Realtype<F>::type>
Point< F, dim > concepts::VectorElementFormulaBase< F, dim, G >::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 60 of file vectorElementFormula.hh.

◆ operator()() [3/3]

template<typename F , int dim, typename G = typename Realtype<F>::type>
Point< F, dim > concepts::VectorElementFormulaBase< F, dim, G >::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 70 of file vectorElementFormula.hh.

◆ operator[]()

template<typename F , int dim, typename G = typename Realtype<F>::type>
ElementFormulaContainer< F, G > & concepts::VectorElementFormulaBase< F, dim, G >::operator[] ( int  i)
inline

Definition at line 99 of file vectorElementFormula.hh.

Member Data Documentation

◆ formulas_

template<typename F , int dim, typename G = typename Realtype<F>::type>
std::vector<ElementFormulaContainer<F, G> > concepts::VectorElementFormulaBase< F, dim, G >::formulas_
protected

Definition at line 107 of file vectorElementFormula.hh.


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