34#ifndef SVZERODSOLVER_ALGEBRA_INTEGRATOR_HPP_
35#define SVZERODSOLVER_ALGEBRA_INTEGRATOR_HPP_
58 double time_step_size{0.0};
59 double ydot_init_coeff{0.0};
61 double y_coeff_jacobian{0.0};
67 Eigen::Matrix<double, Eigen::Dynamic, 1> y_af;
68 Eigen::Matrix<double, Eigen::Dynamic, 1> ydot_am;
70 Model* model{
nullptr};
82 Integrator(
Model* model,
double time_step_size,
double rho,
double atol,
Generalized-alpha integrator.
Definition Integrator.h:53
State step(const State &state, double time)
Perform a time step.
Definition Integrator.cpp:76
void clean()
Delete dynamically allocated memory (in class member SparseSystem<double> system).
Definition Integrator.cpp:62
double avg_nonlin_iter()
Get average number of nonlinear iterations in all step calls.
Definition Integrator.cpp:136
Integrator()
Construct a new Integrator object.
Definition Integrator.cpp:59
~Integrator()
Destroy the Integrator object.
Definition Integrator.cpp:60
void update_params(double time_step_size)
Update integrator parameter and system matrices with model parameter updates.
Definition Integrator.cpp:68
Model of 0D elements.
Definition Model.h:75
Sparse system.
Definition SparseSystem.h:57
State of the system.
Definition State.h:46