Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::BilinearFormHelper_0_1_Part< F > Class Template Reference

#include <bilinearFormHelper.hh>

Inheritance diagram for hp2D::BilinearFormHelper_0_1_Part< F >:
hp2D::BilinearFormOnePartDeriv< F >

Public Member Functions

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

Protected Member Functions

void computeIntermediate_ (const BaseQuad< concepts::Real > &elm, const int i) const
 

Protected Attributes

ArrayElementFormula< concepts::Point< F, 2 > > intermediateVector_
 
concepts::ElementFormulaContainer< F > frm_
 ElementFormula.
 
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 |\det J|, J^{-\top} and \underline{k} can be precomputed as a single vector intermediateVector_ per quadrature point.

Definition at line 78 of file bilinearFormHelper.hh.

Member Function Documentation

◆ computeIntermediate_()

template<class F >
void hp2D::BilinearFormHelper_0_1_Part< F >::computeIntermediate_ ( const BaseQuad< concepts::Real > &  elm,
const int  i 
) const
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.

Member Data Documentation

◆ frm_

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

ElementFormula.

Definition at line 103 of file bilinearFormHelper.hh.

◆ intermediateVector_

template<class F >
ArrayElementFormula<concepts::Point<F,2> > hp2D::BilinearFormHelper_0_1_Part< F >::intermediateVector_
mutableprotected

Intermediate vector (on each quadrature point)

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

Definition at line 101 of file bilinearFormHelper.hh.

◆ sharedData_

template<class F >
concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_0_1_Part< F >::sharedData_
protected

Shared data for vectorial bilinear forms.

Definition at line 106 of file bilinearFormHelper.hh.


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