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

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
concepts::ElementFormulaVector< 1, F, G, H > Class Template Reference

Scalar formula created from a FE function. More...

#include <elementFormula.hh>

Inheritance diagram for concepts::ElementFormulaVector< 1, F, G, H >:
Inheritance graph
[legend]
Collaboration diagram for concepts::ElementFormulaVector< 1, F, G, H >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F value_type

Public Member Functions

virtual ElementFormulaVector
< 1, F, G, H > * 
clone () const
 Virtual copy constructor.
 ElementFormulaVector (const Space< H > &spc, const Vector< F > &v, const ElementFunction< G, H > &f)
 Constructor.
virtual F operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const =0
virtual F operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const =0
 Evaluates the formula.
virtual G operator() (const ElementWithCell< H > &elm, const Real p, const Real t=0.0) const
virtual G operator() (const ElementWithCell< H > &elm, const Real3d &p, const Real t=0.0) const
virtual G operator() (const ElementWithCell< H > &elm, const Real2d &p, const Real t=0.0) const
virtual F operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const =0

Protected Member Functions

void compute_ (const Element< H > &elm, Array< J > &val, const P &p, const Real t=0.0) const
 Performs the computations.
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

Array< F > coeff_
std::auto_ptr< const
ElementFunction< G, H > > 
f_
 Element function.
const Element< H > * lastElm_
const Element< H > * lastElmOur_
const Space< H > & spc_
const Vector< F > & v_

Detailed Description

template<class F, class G, class H>
class concepts::ElementFormulaVector< 1, F, G, H >

Scalar formula created from a FE function.

The FE function is described by a vector of coefficients.

Author:
Philipp Frauenfelder, 2004

Definition at line 214 of file elementFormula.hh.


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class F , class G , class H >
concepts::ElementFormulaVector< 1, F, G, H >::ElementFormulaVector ( const Space< H > &  spc,
const Vector< F > &  v,
const ElementFunction< G, H > &  f 
)

Constructor.

Parameters:
vVector of coefficients of the FE function
fFunction to be evaluated on the FE function, eg. hp2D::Value

Definition at line 240 of file elementFormula.hh.


Member Function Documentation

template<class F , class G , class H >
virtual ElementFormulaVector<1,F,G,H>* concepts::ElementFormulaVector< 1, F, G, H >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 231 of file elementFormula.hh.

Here is the call graph for this function:

void concepts::ElementFormulaVectorBase< F, H , G , G >::compute_ ( const Element< H > &  elm,
Array< J > &  val,
const P &  p,
const Real  t = 0.0 
) const [protected, inherited]

Performs the computations.

template<class F , class G , class H >
std::ostream & concepts::ElementFormulaVector< 1, F, G, H >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 272 of file elementFormula.hh.

template<typename F, typename G = typename Realtype<F>::type>
virtual F concepts::ElementFormula< F, G >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const [pure virtual, inherited]
template<class F , class G , class H >
G concepts::ElementFormulaVector< 1, F, G, H >::operator() ( const ElementWithCell< H > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [virtual]

Definition at line 265 of file elementFormula.hh.

template<class F , class G , class H >
G concepts::ElementFormulaVector< 1, F, G, H >::operator() ( const ElementWithCell< H > &  elm,
const Real  p,
const Real  t = 0.0 
) const [virtual]

Definition at line 248 of file elementFormula.hh.

template<class F , class G , class H >
G concepts::ElementFormulaVector< 1, F, G, H >::operator() ( const ElementWithCell< H > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [virtual]

Definition at line 256 of file elementFormula.hh.

template<typename F, typename G = typename Realtype<F>::type>
virtual F concepts::ElementFormula< F, G >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [pure virtual, inherited]
template<typename F, typename G = typename Realtype<F>::type>
virtual F concepts::ElementFormula< F, G >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [pure virtual, inherited]

Member Data Documentation

Array<F> concepts::ElementFormulaVectorBase< F, H , G , G >::coeff_ [mutable, protected, inherited]

Definition at line 51 of file elementFormula.hh.

std::auto_ptr<const ElementFunction<G ,H > > concepts::ElementFormulaVectorBase< F, H , G , G >::f_ [protected, inherited]

Element function.

Definition at line 47 of file elementFormula.hh.

const Element<H >* concepts::ElementFormulaVectorBase< F, H , G , G >::lastElm_ [mutable, protected, inherited]

Definition at line 49 of file elementFormula.hh.

const Element<H > * concepts::ElementFormulaVectorBase< F, H , G , G >::lastElmOur_ [mutable, protected, inherited]

Definition at line 49 of file elementFormula.hh.

const Space<H >& concepts::ElementFormulaVectorBase< F, H , G , G >::spc_ [protected, inherited]

Definition at line 44 of file elementFormula.hh.

const Vector<F>& concepts::ElementFormulaVectorBase< F, H , G , G >::v_ [protected, inherited]

Definition at line 45 of file elementFormula.hh.


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

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