critical_interpol
Critical point interpolation
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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=pr), | intent(in) | :: | Xnew(:) |
New value of the variables |
||
real(kind=pr), | intent(in) | :: | Xold(:) |
Old value of the variables |
||
integer, | intent(in) | :: | idx(:) |
Index of the variables to interpolate |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | ncomp |