Prepare for non linear ITPA runs
Solves the following issue(s):
Closes #266 (closed)
Core changes:
Add the entropy interface to MHDequilibrium
.
Add a warning and exit iteration loop if error goes to infinity (to avoid getting stuck on a loop for too long when things are not converging)
Change the base matrix in the creation of the preconditioners in Variational propagators.
Add a check that the operator is of the good type when updating a preconditioner.
Create an inverse of the mass matrix Mv
in each if the Variational propagator using pcg to avoid creation at each time get_newton_error
is called and faster inversion (before was using cg).
Model-specific changes:
None
Documentation changes:
None