Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Member Functions |
Private Attributes |
List of all members
hp2D::l2::Riesz< F > Class Template Referenceabstract
Linear form in 2D. More...
#include <linearForm.hh>
Inheritance diagram for hp2D::l2::Riesz< F >:
Public Member Functions | |
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< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Computes the element contribution to the function. More... | |
Riesz (const concepts::ElementFormulaContainer< F > frm, bool ignoreMissingElem=false) | |
Constructor. More... | |
virtual | ~Riesz () |
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< Real > | frm_ |
ElementFormula. More... | |
ArrayElementFormula< Real > | intermediateValue_ |
Intermediate vector (on each quadrature point) More... | |
Private Member Functions | |
void | operator() (const Quad< Real > &elm, concepts::ElementMatrix< F > &em) const |
Private Attributes | |
bool | ignoreMissingElem |
Detailed Description
template<class F = Real>
class hp2D::l2::Riesz< F >
Linear form in 2D.
This linear form computes
Currently only on quadrilaterals.
Definition at line 235 of file linearForm.hh.
Constructor & Destructor Documentation
◆ Riesz()
template<class F = Real>
hp2D::l2::Riesz< F >::Riesz | ( | const concepts::ElementFormulaContainer< F > | frm, |
bool | ignoreMissingElem = false |
||
) |
Constructor.
- Parameters
-
frm The formula, given elementwise
◆ ~Riesz()
template<class F = Real>
|
virtual |
Member Function Documentation
◆ computeIntermediate_()
|
protectedinherited |
Compute the intermediate data for element matrix computation.
This method is important for the derivated linear forms.
◆ info()
template<class F = Real>
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/3]
template<class F = Real>
void hp2D::l2::Riesz< F >::operator() | ( | const concepts::Element< Real > & | elm, |
concepts::ElementMatrix< F > & | em | ||
) | const |
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]
template<class F = Real>
|
private |
Member Data Documentation
◆ frm_
|
protectedinherited |
ElementFormula.
Definition at line 186 of file linearFormHelper.hh.
◆ ignoreMissingElem
template<class F = Real>
|
private |
Definition at line 261 of file linearForm.hh.
◆ intermediateValue_
|
mutableprotectedinherited |
The documentation for this class was generated from the following file:
- hp2D/linearForm.hh