#include <linearForm.hh>
Public Member Functions | |
| ScalarProductLf (concepts::Formula< Real > &frm, uint nQuadPts) | |
| void | operator() (const concepts::Element< Real > &elmBase, concepts::ElementMatrix< Real > &em) |
| virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
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.
|
inline |
Constructor.
| frm | formula |
| nQuadPts | number of quadrature points per dimension |
Definition at line 72 of file linearForm.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2Dedge::DirichletRotRot, hp2Dedge::DirichletIdentity, hp2Dedge::Riesz, hp2Dedge::EdgeRiesz, hp3D::Riesz, and vectorial::TimeLinearForm.
| void linDG2D::ScalarProductLf::operator() | ( | const concepts::Element< Real > & | elmBase, |
| concepts::ElementMatrix< Real > & | em | ||
| ) |
Application operator. Computes the element contribution.
| elmBase | Element |
| em | Element matrix |
|
pure virtualinherited |
Computes the element contribution to the function.
| elm | Element on which the computations should be performed |
| em | The local matrix |