GetNonLinRatios(this, State, CAMB_Pk)
Fill CAMB_Pk%nonlin_ratio from the stored interpolation grid.
Clamps k and z to the grid range to prevent unreliable polynomial extrapolation.
TExternalNonLinearRatio :: this
TCAMBdata :: State
MatterPowerData target :: CAMB_Pk
GetNonLinRatios_All(this, State, CAMB_Pk)
TExternalNonLinearRatio :: this
TCAMBdata :: State
MatterPowerData target :: CAMB_Pk
SelfPointer(cptr, P)
c_ptr :: cptr
TPythonInterfacedClass pointer :: P
SetRatio(this, nk, nz, k_h_arr, z_arr, ratio_arr)
Set the non-linear ratio grid sqrt(P_NL/P_L)
TExternalNonLinearRatio :: this
integer intent(in) :: nk
integer intent(in) :: nz
real(dl) intent(in) :: k_h_arr(nk)
real(dl) intent(in) :: z_arr(nz)
real(dl) intent(in) :: ratio_arr(nk, nz)