linDG2D::ScalarProductLf Class Referenceabstract
Pure L2 scalar product linear form for DG in 2D. More...
#include <linearForm.hh>
Public Member Functions | |
void | operator() (const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em) |
Application operator. More... | |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Computes the element contribution to the function. More... | |
ScalarProductLf (concepts::Formula< Real > &frm, uint nQuadPts) | |
Constructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const concepts::Formula< Real > & | frm_ |
const uint | nQuadPts_ |
Detailed Description
Pure L2 scalar product linear form for DG in 2D.
Useful e. g. for L2 projections of initial conditions
Definition at line 66 of file linearForm.hh.
Constructor & Destructor Documentation
◆ ScalarProductLf()
|
inline |
Constructor.
- Parameters
-
frm formula nQuadPts number of quadrature points per dimension
Definition at line 72 of file linearForm.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]
void linDG2D::ScalarProductLf::operator() | ( | const concepts::Element< Real > & | elmBase, |
concepts::ElementMatrix< Real > & | em | ||
) |
Application operator.
Computes the element contribution.
- Parameters
-
elmBase Element em Element matrix
◆ 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 |
Definition at line 81 of file linearForm.hh.
◆ nQuadPts_
|
private |
Definition at line 82 of file linearForm.hh.
The documentation for this class was generated from the following file:
- linDG2D/linearForm.hh