hp1D::LinearFormHelper< 1, F > Class Template Reference

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

#include <formula.hh>

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

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 155 of file formula.hh.

Constructor & Destructor Documentation

◆ LinearFormHelper()

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

◆ ~LinearFormHelper()

template<class F >
virtual hp1D::LinearFormHelper< 1, F >::~LinearFormHelper ( )
virtual

Member Function Documentation

◆ computeIntermediate_()

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

Compute the intermediate data for element matrix computation.

This method is important for the derivated linear forms.

Member Data Documentation

◆ frm_

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

ElementFormula.

Definition at line 174 of file formula.hh.

◆ intermediateValue_

template<class F >
concepts::Array<F> hp1D::LinearFormHelper< 1, F >::intermediateValue_
mutableprotected

Intermediate value (on each quadrature point)

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

Definition at line 171 of file formula.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich