#include <linearForm.hh>
Public Member Functions | |
| LaplaceTimeLf (concepts::Formula< Real > &frm, concepts::BoundaryConditions *bc, MeshInfo &mi, Real omega, Real tau, uint nQuadPts) | |
| void | operator() (const concepts::Element< Real > &elmBase, 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. | |
DG right hand side for time dependent problems with diffusion in 2D
Definition at line 29 of file linearForm.hh.
|
inline |
Constructor. Takes a formula object that describes the time dependent form of the right hand side.
| frm | Time dependent formula |
| bc | Boundary conditions |
| mi | MeshInfo to get edge information from |
| omega | Weight for penalty term |
| tau | Sign for symmetric discretization of diffusion |
| nQuadPts | Number of quadrature points per dimension |
Definition at line 40 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::LaplaceTimeLf::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 |
|
inlineinherited |
Returns time_.
Definition at line 41 of file vectors.hh.
|
inlinevirtualinherited |
|
protectedinherited |
The current time.
Definition at line 44 of file vectors.hh.