hp2D::LinearFormHelper_0< F > Class Template Reference

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

#include <linearFormHelper.hh>

Inheritance diagram for hp2D::LinearFormHelper_0< F >:
hp2D::BilinearFormHelper_0_0< F >

Public Member Functions

concepts::RCP< concepts::SharedJacobianDetdata () const
 Gets the pointer to the shared data. More...
 
void data (const concepts::RCP< concepts::SharedJacobianDet > d)
 Set the pointer to the shared data. More...
 
 LinearFormHelper_0 (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >())
 
virtual ~LinearFormHelper_0 ()
 

Protected Member Functions

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

Protected Attributes

concepts::ElementFormulaContainer< F > frm_
 ElementFormula. More...
 
concepts::Array< F > intermediateValue_
 Intermediate value (on each quadrature point) More...
 
concepts::RCP< concepts::SharedJacobianDetsharedData_
 Shared data for vectorial bilinear forms. More...
 

Detailed Description

template<class F>
class hp2D::LinearFormHelper_0< F >

Helper class for linearforms l(v), where v is a 0-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} \det J\,d\xi\]

$F_K$ is the element mapping from reference element $\hat{K} = [0,1]^2$, $J$ is the Jacobian matrix.

Computes intermediate data for element matrix computation.

Author
Kersten Schmidt, 2005

Definition at line 51 of file linearFormHelper.hh.

Constructor & Destructor Documentation

◆ LinearFormHelper_0()

◆ ~LinearFormHelper_0()

template<class F >
virtual hp2D::LinearFormHelper_0< F >::~LinearFormHelper_0 ( )
virtual

Member Function Documentation

◆ computeIntermediate_()

template<class F >
void hp2D::LinearFormHelper_0< F >::computeIntermediate_ ( const BaseQuad< concepts::Real > &  elm) const
protected

Compute the intermediate data for element matrix computation.

This method is important for the derivated linear forms.

◆ data() [1/2]

template<class F >
concepts::RCP<concepts::SharedJacobianDet> hp2D::LinearFormHelper_0< F >::data ( ) const

Gets the pointer to the shared data.

◆ data() [2/2]

template<class F >
void hp2D::LinearFormHelper_0< F >::data ( const concepts::RCP< concepts::SharedJacobianDet d)

Set the pointer to the shared data.

Member Data Documentation

◆ frm_

template<class F >
concepts::ElementFormulaContainer<F> hp2D::LinearFormHelper_0< F >::frm_
protected

ElementFormula.

Definition at line 77 of file linearFormHelper.hh.

◆ intermediateValue_

template<class F >
concepts::Array<F> hp2D::LinearFormHelper_0< F >::intermediateValue_
mutableprotected

Intermediate value (on each quadrature point)

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

Definition at line 74 of file linearFormHelper.hh.

◆ sharedData_

template<class F >
concepts::RCP<concepts::SharedJacobianDet> hp2D::LinearFormHelper_0< F >::sharedData_
protected

Shared data for vectorial bilinear forms.

Definition at line 79 of file linearFormHelper.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