hp2Dedge::Riesz Class Referenceabstract
Linear form in 2D. More...
#include <linearForm.hh>
Public Member Functions | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &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... | |
void | operator() (const Quad< Real > &elm, concepts::ElementMatrix< Real > &em) const |
Riesz (const concepts::ElementFormulaContainer< concepts::Real2d > frm, const concepts::BoundaryConditions *bc=0) | |
Riesz (const concepts::ElementFormulaContainer< Real > frm1, const concepts::ElementFormulaContainer< Real > frm2, const concepts::BoundaryConditions *bc=0) | |
Constructor. More... | |
virtual | ~Riesz () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
concepts::ElementFormulaContainer< concepts::Real2d > | frm_ |
Formula. More... | |
Neumann | neumann_ |
Reference to the linear form of the Neumann condition. More... | |
concepts::Array< Real > | tmp_ |
Intermediate data for element matrix computation. More... | |
Detailed Description
Linear form in 2D.
This linear form computes
Currently only on quadrilaterals.
- See also
- Neumann
Definition at line 94 of file linearForm.hh.
Constructor & Destructor Documentation
◆ Riesz() [1/2]
hp2Dedge::Riesz::Riesz | ( | const concepts::ElementFormulaContainer< Real > | frm1, |
const concepts::ElementFormulaContainer< Real > | frm2, | ||
const concepts::BoundaryConditions * | bc = 0 |
||
) |
Constructor.
Parses the formula.
- Parameters
-
frm1 First component of the formula frm2 Second component of te formula bc Boundary conditions, defaults to homogeneous
◆ Riesz() [2/2]
hp2Dedge::Riesz::Riesz | ( | const concepts::ElementFormulaContainer< concepts::Real2d > | frm, |
const concepts::BoundaryConditions * | bc = 0 |
||
) |
◆ ~Riesz()
|
virtual |
Member Function Documentation
◆ info()
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/3]
void hp2Dedge::Riesz::operator() | ( | const concepts::Element< Real > & | elm, |
concepts::ElementMatrix< Real > & | 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]
void hp2Dedge::Riesz::operator() | ( | const Quad< Real > & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) | const |
Member Data Documentation
◆ frm_
|
private |
Formula.
Definition at line 123 of file linearForm.hh.
◆ neumann_
|
private |
Reference to the linear form of the Neumann condition.
Definition at line 127 of file linearForm.hh.
◆ tmp_
|
mutableprivate |
Intermediate data for element matrix computation.
Definition at line 125 of file linearForm.hh.
The documentation for this class was generated from the following file:
- hp2Dedge/linearForm.hh