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

Public Member Functions | Protected Member Functions | Protected Attributes
hp2D::BilinearFormHelper_0_1_Part< F > Class Template Reference

Helper class for bilinear forms a(u,v) where u is a 0-form and v is a 1-form. More...

#include <bilinearFormHelper.hh>

Inheritance diagram for hp2D::BilinearFormHelper_0_1_Part< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::BilinearFormHelper_0_1_Part< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BilinearFormHelper_0_1_Part (const concepts::ElementFormulaContainer< F > frm)
concepts::RCP
< concepts::SharedJacobianAdj< 2 > > 
data () const
 Gets the pointer to the shared data.
void data (const concepts::RCP< concepts::SharedJacobianAdj< 2 > > d)
 Set the pointer to the shared data.
virtual ~BilinearFormHelper_0_1_Part ()

Protected Member Functions

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

Protected Attributes

concepts::ElementFormulaContainer
< F > 
frm_
 ElementFormula.
ArrayElementFormula
< concepts::Point< F, 2 > > 
intermediateVector_
 Intermediate vector (on each quadrature point)
concepts::RCP
< concepts::SharedJacobianAdj< 2 > > 
sharedData_
 Shared data for vectorial bilinear forms.

Detailed Description

template<class F>
class hp2D::BilinearFormHelper_0_1_Part< F >

Helper class for bilinear forms a(u,v) where u is a 0-form and v is a 1-form.

For example, the Advection-BF is a 0-1-BF

\[ \int\limits_{K} \underline{k}^\top u \; \nabla{v} \; d\xi = \int\limits_{\hat{K}} \underline{k}^\top \hat{u} \; J^{-\top}\;\nabla{\hat{v}} \;|\det J| \; d\hat{\xi} \]

Here | J|, J^{-} and {k} can be precomputed as a single vector intermediateVector_ per quadrature point.

Definition at line 101 of file bilinearFormHelper.hh.


Constructor & Destructor Documentation

template<class F >
virtual hp2D::BilinearFormHelper_0_1_Part< F >::~BilinearFormHelper_0_1_Part ( ) [virtual]

Member Function Documentation

template<class F >
void hp2D::BilinearFormHelper_0_1_Part< F >::computeIntermediate_ ( const BaseQuad< concepts::Real > &  elm,
const int  i 
) [protected]

Compute the intermediate data for element matrix computation.

Parameters:
itake only i-th column of Jacobian matrix (for test function)

This method is important for the derivated bilinear forms.

template<class F >
void hp2D::BilinearFormHelper_0_1_Part< F >::data ( const concepts::RCP< concepts::SharedJacobianAdj< 2 > >  d)

Set the pointer to the shared data.

template<class F >
concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_0_1_Part< F >::data ( ) const

Gets the pointer to the shared data.


Member Data Documentation

ElementFormula.

Definition at line 126 of file bilinearFormHelper.hh.

Intermediate vector (on each quadrature point)

\[\underline{f}(F_K(\xi))(\mbox{adj}(J)_{\cdot,i})^\top\]

Definition at line 124 of file bilinearFormHelper.hh.

Shared data for vectorial bilinear forms.

Definition at line 129 of file bilinearFormHelper.hh.


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

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