Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
concepts::VectorElementFormulaBase< F, dim, G > Class Template Reference

Element formula returning a vector. More...

#include <vectorElementFormula.hh>

Inheritance diagram for concepts::VectorElementFormulaBase< F, dim, G >:
Inheritance graph
[legend]
Collaboration diagram for concepts::VectorElementFormulaBase< F, dim, G >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Point< F, dim > value_type

Public Member Functions

virtual
VectorElementFormulaBase< F,
dim, G > * 
clone () const
 Virtual copy constructor.
const std::vector
< ElementFormulaContainer< F,
G > > & 
getFormulas ()
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
Point< F, dim > operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 Evaluates the formula.
ElementFormulaContainer< F, G > & operator[] (int i)
 VectorElementFormulaBase (const std::vector< ElementFormulaContainer< F, G > > &formulas)
 Combines a vector of dim ElementFormulas to a VectorElementFormulaBase.
 VectorElementFormulaBase ()
virtual ~VectorElementFormulaBase ()

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 22 of file vectorElementFormula.hh.


Member Typedef Documentation

typedef Point< F, dim > concepts::ElementFormula< Point< F, dim > , G >::value_type [inherited]

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

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

Definition at line 25 of file vectorElementFormula.hh.

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 36 of file vectorElementFormula.hh.

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

Definition at line 88 of file vectorElementFormula.hh.


Member Function Documentation

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

Virtual copy constructor.

Implements concepts::ElementFormula< Point< F, dim >, G >.

Definition at line 77 of file vectorElementFormula.hh.

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 90 of file vectorElementFormula.hh.

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 105 of file vectorElementFormula.hh.

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 [inline, virtual]

Evaluates the formula.

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

Implements concepts::ElementFormula< Point< F, dim >, G >.

Definition at line 47 of file vectorElementFormula.hh.

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 [inline, virtual]
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 [inline, virtual]
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 95 of file vectorElementFormula.hh.


Member Data Documentation

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 103 of file vectorElementFormula.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)