17 const Form &form_to_damp,
19 const bool use_stiffness_as_ratio,
21 const int n_lagging_iters);
23 static std::shared_ptr<RayleighDampingForm>
create(
25 const std::unordered_map<std::string, std::shared_ptr<Form>> &forms,
28 std::string
name()
const override {
return "rayleigh-damping"; }
54 void update_lagging(
const Eigen::VectorXd &
x,
const int iter_num)
override;
Implicit time integrator of a second order ODE (equivently a system of coupled first order ODEs).
Eigen::SparseMatrix< double, Eigen::ColMajor > StiffnessMatrix