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

Helper class for bilinearforms a(u,v), where u and v are 1-forms. More...

#include <formula.hh>

Public Member Functions

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

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. More...
 

Detailed Description

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

Helper class for bilinearforms a(u,v), where u and v are 1-forms.

\[\displaystyle a(u,v) = \int\limits_K f(x)\underline{u}^T\underline{v}\,dx = \int\limits_{\hat{K}} \hat{\underline{u}}\,\circ F_K^{-1}\hat{\underline{v}}\,\circ F_K^{-1}f(F_K(\xi))J^{-1}\,d\xi\]

J is the Jacobian matrix.

Computes intermediate data for element matrix computation.

Definition at line 212 of file formula.hh.

Constructor & Destructor Documentation

◆ BilinearFormHelper()

◆ ~BilinearFormHelper()

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

Member Function Documentation

◆ computeIntermediate_()

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

Compute the intermediate data for element matrix computation.

Member Data Documentation

◆ frm_

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

ElementFormula.

Definition at line 226 of file formula.hh.

◆ intermediateValue_

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

Intermediate value.

\[\frac{f(F_K(\xi))}J^{-1}\]

Definition at line 224 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