Interface class for routines and member variables for time integrators relying on linear system assembly method. More...
#include <LinearTimeIntegratorInterface.h>
Public Member Functions | |
LinearTimeIntegratorInterface (SystemBase &system) | |
virtual Real | timeDerivativeRHSContribution (dof_id_type dof_id, const std::vector< Real > &factors={}) const |
The time derivative's contribution to the right hand side of a linear system. More... | |
virtual Real | timeDerivativeMatrixContribution (const Real factor) const |
The time derivative's contribution to the right hand side of a linear system. More... | |
Protected Attributes | |
LinearSystem * | _linear_system |
Pointer to the linear system, can happen that we dont have any. More... | |
libMesh::LinearImplicitSystem * | _linear_implicit_system |
Nonlinear implicit system, if applicable; otherwise, nullptr. More... | |
Interface class for routines and member variables for time integrators relying on linear system assembly method.
Definition at line 30 of file LinearTimeIntegratorInterface.h.
LinearTimeIntegratorInterface::LinearTimeIntegratorInterface | ( | SystemBase & | system | ) |
Definition at line 16 of file LinearTimeIntegratorInterface.C.
|
virtual |
The time derivative's contribution to the right hand side of a linear system.
For now, this does not depend of the DoF index, might change in the future.
Reimplemented in ImplicitEuler.
Definition at line 33 of file LinearTimeIntegratorInterface.C.
Referenced by LinearFVTimeDerivative::computeMatrixContribution().
|
virtual |
The time derivative's contribution to the right hand side of a linear system.
dof_id | The dof index at which this contribution should be fetched at |
factors | Multiplicative factor (e.g. a material property) at multiple states (old, older, etc) |
Reimplemented in ImplicitEuler.
Definition at line 24 of file LinearTimeIntegratorInterface.C.
Referenced by LinearFVTimeDerivative::computeRightHandSideContribution().
|
protected |
Nonlinear implicit system, if applicable; otherwise, nullptr.
Definition at line 51 of file LinearTimeIntegratorInterface.h.
|
protected |
Pointer to the linear system, can happen that we dont have any.
Definition at line 48 of file LinearTimeIntegratorInterface.h.
Referenced by timeDerivativeMatrixContribution(), and timeDerivativeRHSContribution().