Interface for a first-order implicit quasi-linear ODE.
- See also
- ODESystemTag::FirstOrderImplicitQuasilinear
Definition at line 39 of file ODESystem.h.
#include <ODESystem.h>
|
virtual void | preAssemble (const double t, double const dt, GlobalVector const &x)=0 |
| Calls process' pre-assembly with the provided state (t , dt , x ).
|
|
virtual std::vector< GlobalIndexType > | getIndicesOfResiduumWithoutInitialCompensation () const |
|
virtual void | assemble (const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b)=0 |
| Assemble M , K and b at the provided state (t , x ).
|
|
virtual std::vector< NumLib::IndexValueVector< Index > > const * | getKnownSolutions (double const, GlobalVector const &, int const) const |
|
virtual void | updateConstraints (GlobalVector &, GlobalVector &, int const) |
|
virtual bool | shouldLinearSolverComputeOnlyUponTimestepChange () const |
|
virtual bool | isLinear () const =0 |
|
virtual bool | requiresNormalization () const =0 |
|
virtual void | preIteration (const unsigned iter, GlobalVector const &x) |
|
virtual IterationResult | postIteration (GlobalVector const &x) |
|
virtual MathLib::MatrixSpecifications | getMatrixSpecifications (const int process_id) const =0 |
|
virtual | ~EquationSystem ()=default |
|
◆ Index
◆ assemble()
Assemble M
, K
and b
at the provided state (t
, x
).
◆ getIndicesOfResiduumWithoutInitialCompensation()
- Returns
- The global indices for the entries of the global residuum vector that do not need initial non-equilibrium compensation.
Definition at line 54 of file ODESystem.h.
◆ getKnownSolutions()
Provides known solutions (Dirichlet boundary conditions) vector for the ode system at the given time t
and process_id
.
Definition at line 71 of file ODESystem.h.
73 {
74 return nullptr;
75 }
◆ preAssemble()
◆ shouldLinearSolverComputeOnlyUponTimestepChange()
Indicates whether the assembled matrices change only upon timestep change. This enables some optimizations in the linear solver, but the user must be 100 % sure that she uses this option correctly.
Definition at line 84 of file ODESystem.h.
85 {
86 return false;
87 }
◆ updateConstraints()
◆ ODETag
Initial value:=
@ FirstOrderImplicitQuasilinear
A tag indicating the type of ODE.
Definition at line 44 of file ODESystem.h.
The documentation for this class was generated from the following file: