linDG3D::FvdgTimeRhsDiff Class Referenceabstract
Fvdg right hand side for time dependent problems with diffusion. More...
#include <linearForm.hh>
Public Member Functions | |
FvdgTimeRhsDiff (concepts::Formula< Real > &frm, Real eps, concepts::BoundaryConditions *bc, bool symm=false) | |
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 Real | eps_ |
const concepts::Formula< Real > & | frm_ |
int | symm_ |
Detailed Description
Fvdg right hand side for time dependent problems with diffusion.
Definition at line 73 of file linearForm.hh.
Constructor & Destructor Documentation
◆ FvdgTimeRhsDiff()
|
inline |
Constructor.
Takes a formula object that describes the time dependent form of the right hand side.
- Parameters
-
frm Time dependent formula eps weighting coefficient of the diffusion terms bc boundary conditions symm flag for symmetric discretization of diffusion
Definition at line 82 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 linDG3D::FvdgTimeRhsDiff::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 96 of file linearForm.hh.
◆ eps_
|
private |
Definition at line 95 of file linearForm.hh.
◆ frm_
|
private |
Definition at line 94 of file linearForm.hh.
◆ symm_
|
private |
Definition at line 97 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