linDG2D::LaplaceStabBf Class Referenceabstract
Stabilizing edge integral for the Laplacian in DG FEM in 2D. More...
#include <bilinearForm.hh>
Public Member Functions | |
virtual LaplaceStabBf * | clone () const |
Virtual constructor. More... | |
virtual BilinearForm * | clone () const=0 |
Virtual constructor. More... | |
LaplaceStabBf (Real omega, const concepts::BoundaryConditions *bc) | |
Constructor. More... | |
virtual void | operator() (const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em) const |
Application operator for volume terms, does nothing. More... | |
virtual void | operator() (const concepts::Element< Real > &elmV, const concepts::Element< Real > &elmU, concepts::ElementMatrix< Real > &em, const concepts::ElementPair< Real > &ep) const |
Application operator for DG term. More... | |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em) const=0 |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elmX, const Element< typename Realtype< Real >::type > &elmY, ElementMatrix< Real > &em, const ElementPair< typename Realtype< Real >::type > &ep) const |
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the matrix em . More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
const concepts::BoundaryConditions * | bc_ |
Boundary conditions, only the boundary type is relevant. More... | |
const Real | omega_ |
Stabilization parameter. More... | |
Detailed Description
Stabilizing edge integral for the Laplacian in DG FEM in 2D.
This bilinear form integrates
Definition at line 90 of file bilinearForm.hh.
Constructor & Destructor Documentation
◆ LaplaceStabBf()
|
inline |
Constructor.
- Parameters
-
omega Stabilization parameter bc Boundary conditions, only the boundary type is relevant
Definition at line 96 of file bilinearForm.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 109 of file bilinearForm.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp3D::RotRot, hp3D::Hook, hp3D::DivDiv< Weight >, hp3D::Identity< F >, hp3D::Laplace< F >, hp3D::BilinearFormTwoPartDeriv< F >, hp2Dedge::EdgeIdentity, hp2Dedge::Rotuv, hp2Dedge::RotRot< F >, hp2Dedge::IdentityMatrix< F >, hp2Dedge::Identity< F >, hp2Dedge::GraduvMatrix< F >, hp2Dedge::Graduv< F >, hp2D::RotRot, hp2D::DivDiv< Weight >, hp2D::BilinearFormTwoPartDeriv< F >, hp2D::BilinearFormOnePartDeriv< F >, hp2D::LaplaceMatrix< F >, and hp2D::Laplace< F >.
◆ operator()() [1/4]
|
inlinevirtual |
Application operator for volume terms, does nothing.
Definition at line 99 of file bilinearForm.hh.
◆ operator()() [2/4]
|
virtual |
Application operator for DG term.
◆ operator()() [3/4]
|
pure virtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
.
- Postcondition
- The returned matrix
em
has the correct size.
- Parameters
-
elmX Left element (test functions) elmY Right element (trial functions) em Return element matrix
◆ operator()() [4/4]
|
inlinevirtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
.
If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep
.
- Postcondition
- The returned matrix
em
has the correct size.
- Parameters
-
elmX Left element elmY Right element em Return element matrix ep Element pair holding more information on the pair elmX
andelmY
Definition at line 57 of file bilinearForm.hh.
Member Data Documentation
◆ bc_
|
private |
Boundary conditions, only the boundary type is relevant.
Definition at line 115 of file bilinearForm.hh.
◆ omega_
|
private |
Stabilization parameter.
Definition at line 113 of file bilinearForm.hh.
The documentation for this class was generated from the following file:
- linDG2D/bilinearForm.hh