linDG2D::LaplaceTimeLf Class Referenceabstract
DG right hand side for time dependent problems with diffusion in 2D. More...
#include <linearForm.hh>
Public Member Functions | |
LaplaceTimeLf (concepts::Formula< Real > &frm, concepts::BoundaryConditions *bc, MeshInfo &mi, Real omega, Real tau, uint nQuadPts) | |
Constructor. More... | |
void | operator() (const concepts::Element< Real > &elmBase, 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... | |
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 | |
const concepts::BoundaryConditions * | bc_ |
const concepts::Formula< Real > & | frm_ |
const MeshInfo & | mi_ |
const uint | nQuadPts_ |
const Real | omega_ |
const Real | tau_ |
Detailed Description
DG right hand side for time dependent problems with diffusion in 2D.
Definition at line 29 of file linearForm.hh.
Constructor & Destructor Documentation
◆ LaplaceTimeLf()
|
inline |
Constructor.
Takes a formula object that describes the time dependent form of the right hand side.
- Parameters
-
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.
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/2]
void linDG2D::LaplaceTimeLf::operator() | ( | const concepts::Element< Real > & | elmBase, |
concepts::ElementMatrix< Real > & | em | ||
) |
Application operator.
Computes the element contribution.
- Parameters
-
elmBase Element em Element matrix
◆ operator()() [2/2]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
◆ time() [1/2]
|
inlineinherited |
Returns time_
.
Definition at line 41 of file vectors.hh.
◆ time() [2/2]
|
inlinevirtualinherited |
Member Data Documentation
◆ bc_
|
private |
Definition at line 55 of file linearForm.hh.
◆ frm_
|
private |
Definition at line 54 of file linearForm.hh.
◆ mi_
|
private |
Definition at line 56 of file linearForm.hh.
◆ nQuadPts_
|
private |
Definition at line 59 of file linearForm.hh.
◆ omega_
|
private |
Definition at line 57 of file linearForm.hh.
◆ tau_
|
private |
Definition at line 58 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:
- linDG2D/linearForm.hh