#include <linearForm.hh>
Public Member Functions | |
ConstRhs (Real c=1.0) | |
virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) |
void | operator() (const FvdgElement &elm, concepts::ElementMatrix< Real > &em) |
virtual void | time (Real time) |
Sets time_ . | |
Real | time () |
Returns time_ . | |
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. | |
Protected Attributes | |
Real | time_ |
The current time. | |
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.
|
inline |
Definition at line 32 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.
|
virtual |
Application operator. Tries to convert elements to FvdgElements and throws exception when conversion fails.
elm | 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 |
void linDG3D::ConstRhs::operator() | ( | const FvdgElement & | elm, |
concepts::ElementMatrix< Real > & | em | ||
) |
Application operator. Builds element matrix.
elm | Element |
em | Element matrix |
|
inlineinherited |
Returns time_
.
Definition at line 41 of file vectors.hh.
|
inlinevirtualinherited |
|
protectedinherited |
The current time.
Definition at line 44 of file vectors.hh.