#include <linearForm.hh>
Public Member Functions | |
| GradLinearForm (const concepts::ElementFormulaContainer< F > frm1, const concepts::ElementFormulaContainer< F > frm2, bool ignoreMissingElem=false) | |
| GradLinearForm (const concepts::ElementFormulaContainer< concepts::Point< F, 2 > > frm, bool ignoreMissingElem=false) | |
| virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &em) const |
| virtual void | operator() (const Element< G > &elm, ElementMatrix< F > &em) const =0 |
| virtual void | setBasis (Basis basis) |
Public Attributes | |
| Basis | basis_ |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| void | computeIntermediate_ (const BaseQuad< concepts::Real > &elm) const |
Protected Attributes | |
| ArrayElementFormula< concepts::Point< F, 2 > > | intermediateVector_ |
| concepts::ElementFormulaContainer< concepts::Point< F, 2 > > | frm_ |
| ElementFormula. | |
Linear form in 2D.
This linear form computes
![\[ \int_K \vec{f} \cdot \mbox{\bf grad}{v} \, dx \]](form_529.png)
Currently only on quadrilaterals.
Definition at line 136 of file linearForm.hh.
| hp2D::GradLinearForm< F >::GradLinearForm | ( | const concepts::ElementFormulaContainer< F > | frm1, |
| const concepts::ElementFormulaContainer< F > | frm2, | ||
| bool | ignoreMissingElem = false |
||
| ) |
Constructor.
| frm1 | First component of the formula |
| frm2 | Second component of the formula |
| hp2D::GradLinearForm< F >::GradLinearForm | ( | const concepts::ElementFormulaContainer< concepts::Point< F, 2 > > | frm, |
| bool | ignoreMissingElem = false |
||
| ) |
Constructor.
| frm | Vectorial formula |
| ignoreMissingElem | do not throw an exceptiont for incompatible elements, just ignore elements like GfemQuads |
|
protectedinherited |
Compute the intermediate data for element matrix computation
This method is important for the derivated linear forms.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< F, G >.
Reimplemented in hp2D::PlCurlLinearForm< F >.
|
virtual |
Computes the element load vector. As for the computation of an element stiffness matrix, there are the loops over all quadrature points and the loops over all shape functions.
| elm | The element for which the load vector should be computed. |
| em | The load vector |
|
pure virtualinherited |
Computes the element contribution to the function.
| elm | Element on which the computations should be performed |
| em | The local matrix |
Implemented in vectorial::LinearForm< F, G >.
|
inlinevirtualinherited |
Definition at line 68 of file linearForm.hh.
|
mutableinherited |
Definition at line 71 of file linearForm.hh.
|
protectedinherited |
ElementFormula.
Definition at line 139 of file linearFormHelper.hh.
|
mutableprotectedinherited |