private function critical_interpol(Xnew, Xold, idx) result(a)
critical_interpol
Critical point interpolation
Description
This function calculates the parameter to interpolate the
values of the variables at the critical point. The interpolation
is done using the equation:
Where is the old value of the variables and
is the new value of the variables. The critical point is the point
where the variables change sign, so the interpolation is done to
find the value of the variables at the critical point.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.