hp2D::PlCurlLinearForm< F > Class Template Referenceabstract
Linear form in 2D. More...
#include <linearForm.hh>
Public Member Functions | |
virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &em) const |
Computes the element load vector. More... | |
virtual void | operator() (const Element< typename Realtype< concepts::Real >::type > &elm, ElementMatrix< concepts::Real > &em) const=0 |
Computes the element contribution to the function. More... | |
PlCurlLinearForm (const concepts::ElementFormulaContainer< concepts::Point< F, 2 > > frm) | |
Constructor. More... | |
PlCurlLinearForm (const concepts::ElementFormulaContainer< F > frm1, const concepts::ElementFormulaContainer< F > frm2) | |
Constructor. More... | |
virtual void | setBasis (Basis basis) |
Public Attributes | |
Basis | basis_ |
Protected Member Functions | |
void | computeIntermediate_ (const BaseQuad< concepts::Real > &elm) const |
Compute the intermediate data for element matrix computation. More... | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
concepts::ElementFormulaContainer< concepts::Point< concepts::Real, 2 > > | frm_ |
ElementFormula. More... | |
ArrayElementFormula< concepts::Point< concepts::Real, 2 > > | intermediateVector_ |
Intermediate vector (on each quadrature point) More... | |
Private Member Functions | |
virtual void | operator() (const Quad< Real > &elm, concepts::ElementMatrix< F > &em) const |
Private Attributes | |
bool | ignoreMissingElem_ |
Detailed Description
template<class F>
class hp2D::PlCurlLinearForm< F >
Linear form in 2D.
This linear form computes
Currently only on quadrilaterals.
Definition at line 202 of file linearForm.hh.
Constructor & Destructor Documentation
◆ PlCurlLinearForm() [1/2]
hp2D::PlCurlLinearForm< F >::PlCurlLinearForm | ( | const concepts::ElementFormulaContainer< F > | frm1, |
const concepts::ElementFormulaContainer< F > | frm2 | ||
) |
Constructor.
- Parameters
-
frm1 First component of the formula frm2 Second component of te formula
◆ PlCurlLinearForm() [2/2]
hp2D::PlCurlLinearForm< F >::PlCurlLinearForm | ( | const concepts::ElementFormulaContainer< concepts::Point< F, 2 > > | frm | ) |
Constructor.
- Parameters
-
frm Vectorial formula
Member Function Documentation
◆ computeIntermediate_()
|
protectedinherited |
Compute the intermediate data for element matrix computation.
This method is important for the derivated linear forms.
◆ info()
|
protectedvirtual |
Reimplemented from hp2D::GradLinearForm< F >.
◆ operator()() [1/3]
|
virtualinherited |
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.
- Parameters
-
elm The element for which the load vector should be computed. em The load vector
◆ operator()() [2/3]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
◆ operator()() [3/3]
|
privatevirtualinherited |
◆ setBasis()
|
inlinevirtualinherited |
Definition at line 68 of file linearForm.hh.
Member Data Documentation
◆ basis_
|
mutableinherited |
Definition at line 71 of file linearForm.hh.
◆ frm_
|
protectedinherited |
ElementFormula.
Definition at line 139 of file linearFormHelper.hh.
◆ ignoreMissingElem_
|
privateinherited |
Definition at line 172 of file linearForm.hh.
◆ intermediateVector_
|
mutableprotectedinherited |
The documentation for this class was generated from the following file:
- hp2D/linearForm.hh