linDG3D::ConstRhs Class Referenceabstract
TimeLinearForm for constant right hand side. More...
#include <linearForm.hh>
Public Member Functions | |
ConstRhs (Real c=1.0) | |
virtual void | operator() (const concepts::Element< Real > &elm, 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... | |
void | operator() (const FvdgElement &elm, concepts::ElementMatrix< Real > &em) |
Application operator. More... | |
Real | time () |
Returns time_ . More... | |
virtual void | time (Real time) |
Sets time_ . More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
Real | time_ |
The current time. More... | |
Private Attributes | |
Real | c_ |
Detailed Description
TimeLinearForm for constant right hand side.
Works for all FvdgElements, provided the following assumption holds: The first shape function is constant = 1, all others have vanishing mean.
Definition at line 30 of file linearForm.hh.
Constructor & Destructor Documentation
◆ ConstRhs()
|
inline |
Definition at line 32 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/3]
|
virtual |
Application operator.
Tries to convert elements to FvdgElements and throws exception when conversion fails.
- Parameters
-
elm Element em Element matrix
◆ 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 linDG3D::ConstRhs::operator() | ( | const FvdgElement & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) |
Application operator.
Builds element matrix.
- Parameters
-
elm Element em Element matrix
◆ time() [1/2]
|
inlineinherited |
Returns time_
.
Definition at line 41 of file vectors.hh.
◆ time() [2/2]
|
inlinevirtualinherited |
Member Data Documentation
◆ c_
|
private |
Definition at line 47 of file linearForm.hh.
◆ time_
|
protectedinherited |
The current time.
Definition at line 44 of file vectors.hh.
The documentation for this class was generated from the following file:
- linDG3D/linearForm.hh