Base class to calculate element matrices for the Laplacian, for both scalar and matrix formulas. More...
#include <bf_laplace.hh>


Public Types | |
| typedef concepts::Combtype< F, G >::type | value_type |
Public Member Functions | |
| 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. | |
| LaplaceBase (const concepts::ElementFormulaContainer< F > frm, bool all=false) | |
| Constructor. | |
| LaplaceBase (const concepts::ElementFormulaContainer< concepts::Mapping< G, 2 > > frm, bool all=false) | |
Protected Member Functions | |
| bool | assemble_ (const Quad< Real > *elmX, const Quad< Real > *elmY, concepts::ElementMatrix< value_type > &em) |
| void | computeIntermediate_ (const BaseQuad< Real > &elm, const int i=-1, const int j=-1) |
| Compute the intermediate data for element matrix computation. | |
Protected Attributes | |
| bool | all_ |
| Parameter for the sum factorisation. | |
| concepts::ElementFormulaContainer < F > | frm_ |
| Element formula. | |
| concepts::ElementFormulaContainer < concepts::Mapping< G, 2 > > | frmM_ |
| Matrix element formula. | |
| concepts::Array < concepts::Mapping< G, 2 > > | intermediateMatrix_ |
| Intermediate matrix. | |
| concepts::Array< F > | intermediateValue_ |
| Intermediate value. | |
Base class to calculate element matrices for the Laplacian, for both scalar and matrix formulas.
Definition at line 60 of file bf_laplace.hh.
| typedef concepts::Combtype<F,G>::type hp2D::LaplaceBase< F, G >::value_type |
Definition at line 62 of file bf_laplace.hh.
| hp2D::LaplaceBase< F, G >::LaplaceBase | ( | const concepts::ElementFormulaContainer< F > | frm, |
| bool | all = false |
||
| ) |
Constructor.
The formula frm is evaluated in each quadrature point.
| hp2D::LaplaceBase< F, G >::LaplaceBase | ( | const concepts::ElementFormulaContainer< concepts::Mapping< G, 2 > > | frm, |
| bool | all = false |
||
| ) |
| bool hp2D::LaplaceBase< F, G >::assemble_ | ( | const Quad< Real > * | elmX, |
| const Quad< Real > * | elmY, | ||
| concepts::ElementMatrix< value_type > & | em | ||
| ) | [protected] |
| void hp2D::BilinearFormHelper_1_1< F, G >::computeIntermediate_ | ( | const BaseQuad< Real > & | elm, |
| const int | i = -1, |
||
| const int | j = -1 |
||
| ) | [protected, inherited] |
Compute the intermediate data for element matrix computation.
| i | if i=0 or 1, then take only i-th column of Jacobian matrix (for test function) |
| j | if j=0 or 1, then take only j-th column of Jacobian matrix (for trial function) |
The Jacobian matrices have to been taken both full (i,j = -1) or both partial (i,j = 0 or 1).
Matrix formulas and complex valued scalar formulas are only implemented for full Jacobians.
| concepts::RCP<concepts::SharedJacobianAdj<2> > hp2D::BilinearFormHelper_1_1< F, G >::data | ( | ) | const [inherited] |
Gets the pointer to the shared data.
| void hp2D::BilinearFormHelper_1_1< F, G >::data | ( | const concepts::RCP< concepts::SharedJacobianAdj< 2 > > | d | ) | [inherited] |
Set the pointer to the shared data.
bool hp2D::LaplaceBase< F, G >::all_ [protected] |
Parameter for the sum factorisation.
Reimplemented in hp2D::Laplace< F >, hp2D::Laplace< concepts::Real >, and hp2D::Laplace< Cmplx >.
Definition at line 73 of file bf_laplace.hh.
concepts::ElementFormulaContainer<F> hp2D::BilinearFormHelper_1_1< F, G >::frm_ [protected, inherited] |
Element formula.
Definition at line 216 of file bilinearFormHelper.hh.
concepts::ElementFormulaContainer<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::frmM_ [protected, inherited] |
Matrix element formula.
Definition at line 218 of file bilinearFormHelper.hh.
concepts::Array<concepts::Mapping<G,2> > hp2D::BilinearFormHelper_1_1< F, G >::intermediateMatrix_ [protected, inherited] |
Intermediate matrix.
In case of a scalar formula:
In case of a matrix formula
:
In case of partial Jacobian:
Definition at line 214 of file bilinearFormHelper.hh.
concepts::Array<F> hp2D::BilinearFormHelper_1_1< F, G >::intermediateValue_ [protected, inherited] |
Intermediate value.
In case of a scalar formula:
In case of a matrix formula:
Definition at line 202 of file bilinearFormHelper.hh.