A function class to calculate element matrices for the mass matrix. More...
#include <bilinearForm.hh>


Public Member Functions | |
| virtual Identity * | clone () const |
| Virtual constructor. | |
| 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. | |
| Identity (const concepts::ElementFormulaContainer< Real > frm=concepts::ElementFormulaContainer< Real >()) | |
| Constructor. | |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em)=0 |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. | |
| void | operator() (const Quad< Real > &elmX, const Quad< Real > &elmY, concepts::ElementMatrix< Real > &em) |
| void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< Real > &em) |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep) |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em. | |
| virtual | ~Identity () |
Protected Member Functions | |
| void | computeIntermediate_ (const BaseQuad< Real > &elm, const int i=-1, const int j=-1) |
| Compute the intermediate data for element matrix computation. | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| concepts::ElementFormulaContainer < Real > | frm_ |
| Element formula. | |
| concepts::ElementFormulaContainer < concepts::Mapping< typename concepts::Realtype< Real > ::type, 2 > > | frmM_ |
| Matrix element formula. | |
| concepts::Array < concepts::Mapping< typename concepts::Realtype< Real > ::type, 2 > > | intermediateMatrix_ |
| Intermediate matrix. | |
| concepts::Array< Real > | intermediateValue_ |
| Intermediate value. | |
A function class to calculate element matrices for the mass matrix.
Definition at line 72 of file bilinearForm.hh.
| hp2Dedge::Identity::Identity | ( | const concepts::ElementFormulaContainer< Real > | frm = concepts::ElementFormulaContainer< Real >() | ) |
Constructor.
| virtual hp2Dedge::Identity::~Identity | ( | ) | [inline, virtual] |
Definition at line 78 of file bilinearForm.hh.
| virtual Identity* hp2Dedge::Identity::clone | ( | ) | const [inline, virtual] |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 79 of file bilinearForm.hh.

| void hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::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< Real , typename concepts::Realtype<Real >::type >::data | ( | ) | const [inherited] |
Gets the pointer to the shared data.
| void hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::data | ( | const concepts::RCP< concepts::SharedJacobianAdj< 2 > > | d | ) | [inherited] |
Set the pointer to the shared data.
| virtual std::ostream& hp2Dedge::Identity::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< Real >.
| virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::operator() | ( | const Element< typename Realtype<Real >::type > & | elmX, |
| const Element< typename Realtype<Real >::type > & | elmY, | ||
| ElementMatrix< Real > & | em | ||
| ) | [pure virtual, inherited] |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
em has the correct size. | elmX | Left element (test functions) |
| elmY | Right element (trial functions) |
| em | Return element matrix |
| void hp2Dedge::Identity::operator() | ( | const concepts::Element< Real > & | elmX, |
| const concepts::Element< Real > & | elmY, | ||
| concepts::ElementMatrix< Real > & | em | ||
| ) |
| void hp2Dedge::Identity::operator() | ( | const Quad< Real > & | elmX, |
| const Quad< Real > & | elmY, | ||
| concepts::ElementMatrix< Real > & | em | ||
| ) |
| virtual void concepts::BilinearForm< Real , typename Realtype<Real >::type >::operator() | ( | const Element< typename Realtype<Real >::type > & | elmX, |
| const Element< typename Realtype<Real >::type > & | elmY, | ||
| ElementMatrix< Real > & | em, | ||
| const ElementPair< typename Realtype<Real >::type > & | ep | ||
| ) | [inline, virtual, inherited] |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em.
If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep.
em has the correct size. | elmX | Left element |
| elmY | Right element |
| em | Return element matrix |
| ep | Element pair holding more information on the pair elmX and elmY |
Definition at line 53 of file bilinearForm.hh.

concepts::ElementFormulaContainer<Real > hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::frm_ [protected, inherited] |
Element formula.
Definition at line 216 of file bilinearFormHelper.hh.
concepts::ElementFormulaContainer<concepts::Mapping<typename concepts::Realtype<Real >::type ,2> > hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::frmM_ [protected, inherited] |
Matrix element formula.
Definition at line 218 of file bilinearFormHelper.hh.
concepts::Array<concepts::Mapping<typename concepts::Realtype<Real >::type ,2> > hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::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<Real > hp2D::BilinearFormHelper_1_1< Real , typename concepts::Realtype<Real >::type >::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.