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

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

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

#include <elementFormula.hh>

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

List of all members.

Public Types

typedef F value_type

Public Member Functions

virtual ElementFormulaVector
< dim, 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 Point< G, dim > operator() (const ElementWithCell< H > &elm, const Real p, const Real t=0.0) const
virtual Point< G, dim > operator() (const ElementWithCell< H > &elm, const Real3d &p, const Real t=0.0) const
virtual Point< G, dim > 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<uint dim, class F = Real, class G = F, class H = typename Realtype<F>::type>
class concepts::ElementFormulaVector< dim, F, G, H >

Vectorial formula created from a FE function.

The FE function is described by a vector of coefficients.

Parameters:
dimDimension of output vector (e.g. gradient has two components)
Ftype of the coefficients
Gdata type of the element function
Htype of the space, i.e. that of the T matrices
Author:
Philipp Frauenfelder, 2004
Examples:

inhomDirichletBCs.cc.

Definition at line 129 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<uint dim, class F , class G , class H >
concepts::ElementFormulaVector< dim, 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 154 of file elementFormula.hh.


Member Function Documentation

template<uint dim, class F = Real, class G = F, class H = typename Realtype<F>::type>
virtual ElementFormulaVector<dim,F,G,H>* concepts::ElementFormulaVector< dim, F, G, H >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 145 of file elementFormula.hh.

Here is the call graph for this function:

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

Performs the computations.

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 201 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<uint dim, class F , class G , class H >
Point< G, dim > concepts::ElementFormulaVector< dim, F, G, H >::operator() ( const ElementWithCell< H > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [virtual]

Definition at line 189 of file elementFormula.hh.

Here is the call graph for this function:

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

Definition at line 162 of file elementFormula.hh.

Here is the call graph for this function:

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

Definition at line 175 of file elementFormula.hh.

Here is the call graph for this function:

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 , Point< G, dim > , G >::coeff_ [mutable, protected, inherited]

Definition at line 51 of file elementFormula.hh.

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

Element function.

Definition at line 47 of file elementFormula.hh.

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

Definition at line 49 of file elementFormula.hh.

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

Definition at line 49 of file elementFormula.hh.

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

Definition at line 44 of file elementFormula.hh.

const Vector<F>& concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , 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)