linearFEM::Riesz1d Class Referenceabstract
Linear form form 1D linear FEM. More...
#include <linearForm1D.hh>
Public Member Functions | |
virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Computes the element contribution to the function. More... | |
Riesz1d (const concepts::Formula< Real > &frm, const uint gauss_p=1) | |
Constructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
std::unique_ptr< const concepts::Formula< Real > > | frm_ |
Formula. More... | |
const concepts::Quadrature< 4 > | quad_ |
Quadrature formula. More... | |
Detailed Description
Linear form form 1D linear FEM.
This linear form takes a formula frm
and computes the load vector
where f ist frm
and v are the test functions.
- Examples
- linearDG1d.cc.
Definition at line 26 of file linearForm1D.hh.
Constructor & Destructor Documentation
◆ Riesz1d()
|
inline |
Constructor.
- Parameters
-
frm Formula gauss_p Numer of points for the Gaussian quadrature
Definition at line 32 of file linearForm1D.hh.
Member Function Documentation
◆ info()
|
protectedvirtualinherited |
Reimplemented in vectorial::TimeLinearForm, hp3D::Riesz, hp2Dedge::EdgeRiesz, hp2Dedge::Riesz, hp2Dedge::DirichletIdentity, hp2Dedge::DirichletRotRot, hp2D::l2::Riesz< F >, hp2D::Riesz< F >, hp1D::PointEvaluation< F >, hp1D::GradLinearForm< F >, hp1D::LinearFormGradInterp_Grad< F >, hp1D::Riesz< F >, and concepts::Neumann< Real >.
◆ operator()() [1/2]
|
virtual |
◆ operator()() [2/2]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
Member Data Documentation
◆ frm_
|
private |
Formula.
Definition at line 38 of file linearForm1D.hh.
◆ quad_
|
private |
Quadrature formula.
Definition at line 40 of file linearForm1D.hh.
The documentation for this class was generated from the following file:
- linearFEM/linearForm1D.hh