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>
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. More... | |
void | data (const concepts::RCP< concepts::SharedJacobianAdj< 2 > > d) |
Set the pointer to the shared data. More... | |
virtual | ~BilinearFormHelper_0_1_Part () |
Protected Member Functions | |
void | computeIntermediate_ (const BaseQuad< concepts::Real > &elm, const int i) const |
Compute the intermediate data for element matrix computation. More... | |
Protected Attributes | |
concepts::ElementFormulaContainer< F > | frm_ |
ElementFormula. More... | |
ArrayElementFormula< concepts::Point< F, 2 > > | intermediateVector_ |
Intermediate vector (on each quadrature point) More... | |
concepts::RCP< concepts::SharedJacobianAdj< 2 > > | sharedData_ |
Shared data for vectorial bilinear forms. More... | |
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
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.
Constructor & Destructor Documentation
◆ BilinearFormHelper_0_1_Part()
hp2D::BilinearFormHelper_0_1_Part< F >::BilinearFormHelper_0_1_Part | ( | const concepts::ElementFormulaContainer< F > | frm | ) |
◆ ~BilinearFormHelper_0_1_Part()
|
virtual |
Member Function Documentation
◆ computeIntermediate_()
|
protected |
Compute the intermediate data for element matrix computation.
- Parameters
-
i take only i-th column of Jacobian matrix (for test function)
This method is important for the derivated bilinear forms.
◆ data() [1/2]
concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_0_1_Part< F >::data | ( | ) | const |
Gets the pointer to the shared data.
◆ data() [2/2]
void hp2D::BilinearFormHelper_0_1_Part< F >::data | ( | const concepts::RCP< concepts::SharedJacobianAdj< 2 > > | d | ) |
Set the pointer to the shared data.
Member Data Documentation
◆ frm_
|
protected |
ElementFormula.
Definition at line 103 of file bilinearFormHelper.hh.
◆ intermediateVector_
|
mutableprotected |
Intermediate vector (on each quadrature point)
Definition at line 101 of file bilinearFormHelper.hh.
◆ 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: