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

Public Member Functions | Protected Member Functions | Protected Attributes
hp1D::LinearFormHelper< 1, F > Class Template Reference

Helper class for linearforms l(v), where v is a 1-form. More...

#include <formula.hh>

Inheritance diagram for hp1D::LinearFormHelper< 1, F >:
Inheritance graph
[legend]
Collaboration diagram for hp1D::LinearFormHelper< 1, F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LinearFormHelper (const concepts::ElementFormulaContainer< F > frm)
virtual ~LinearFormHelper ()

Protected Member Functions

void computeIntermediate_ (const Element< Real > &elm)
 Compute the intermediate data for element matrix computation.

Protected Attributes

const
concepts::ElementFormulaContainer
< F > 
frm_
 ElementFormula.
concepts::Array< F > intermediateValue_
 Intermediate value (on each quadrature point)

Detailed Description

template<class F>
class hp1D::LinearFormHelper< 1, F >

Helper class for linearforms l(v), where v is a 1-form.

\[\displaystyle l(v) = \int\limits_K f(x)^\top v\,dx = \int\limits_{\hat{K}} f(F_K(\xi))^\top \hat{v}\,\circ F_K^{-1} \,d\xi\]

$F_K$ is the element mapping from reference element $\hat{K} = [0,1]$. $v$ is for a example the derivative of a shape function, and $\hat{v}$ the derivative of the local corresponding local shape function.

Computes intermediate data for element matrix computation.

Author:
Kersten Schmidt, 2009

Definition at line 154 of file formula.hh.


Constructor & Destructor Documentation

template<class F >
hp1D::LinearFormHelper< 1, F >::LinearFormHelper ( const concepts::ElementFormulaContainer< F >  frm)
template<class F >
virtual hp1D::LinearFormHelper< 1, F >::~LinearFormHelper ( ) [virtual]

Member Function Documentation

template<class F >
void hp1D::LinearFormHelper< 1, F >::computeIntermediate_ ( const Element< Real > &  elm) [protected]

Compute the intermediate data for element matrix computation.

This method is important for the derivated linear forms.


Member Data Documentation

template<class F >
const concepts::ElementFormulaContainer<F> hp1D::LinearFormHelper< 1, F >::frm_ [protected]

ElementFormula.

Definition at line 173 of file formula.hh.

template<class F >
concepts::Array<F> hp1D::LinearFormHelper< 1, F >::intermediateValue_ [protected]

Intermediate value (on each quadrature point)

\[f(F_K(\xi))^\top \det J\]

Definition at line 170 of file formula.hh.


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

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