Calculate constant quantities used in various functions within this module
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params |
subroutine normalize_params_ss(params)
!! Calculate constant quantities used in various functions within
!! this module
TYPE(KORC_PARAMS), INTENT(IN) :: params
cparams_ss%Clog1 = -1.15_rp*LOG10(1.0E-6_rp*params%cpp%density)
cparams_ss%Clog2 = 2.3_rp*LOG10(params%cpp%temperature/C_E)
cparams_ss%Clog0_1 = -LOG(1.0E-20_rp*params%cpp%density)/2._rp
cparams_ss%Clog0_2 = LOG(1.0E-3 *params%cpp%temperature/C_E)
cparams_ss%Gammaco = cparams_ss%Gammaco*params%cpp%density* &
params%cpp%time/(params%cpp%mass**2*params%cpp%velocity**3)
cparams_ss%VTeo = SQRT(params%cpp%temperature/C_ME)/params%cpp%velocity
cparams_ss%deltao = params%cpp%velocity/C_C
cparams_ss%Te = cparams_ss%Te/params%cpp%temperature
cparams_ss%Ti = cparams_ss%Ti/params%cpp%temperature
cparams_ss%ne = cparams_ss%ne/params%cpp%density
cparams_ss%rD = cparams_ss%rD/params%cpp%length
cparams_ss%re = cparams_ss%re/params%cpp%length
cparams_ss%VTe = cparams_ss%VTe/params%cpp%velocity
cparams_ss%Gammac = cparams_ss%Gammac*params%cpp%time/ &
(params%cpp%mass**2*params%cpp%velocity**3)
cparams_ss%Tau = cparams_ss%Tau/params%cpp%time
cparams_ss%Tauc = cparams_ss%Tauc/params%cpp%time
cparams_ss%Ec = cparams_ss%Ec/params%cpp%Eo
cparams_ss%ED = cparams_ss%ED/params%cpp%Eo
cparams_ss%taur=cparams_ss%taur/params%cpp%time
cparams_ss%P%a = cparams_ss%P%a/params%cpp%length
cparams_ss%P%neo = cparams_ss%P%neo/params%cpp%density
cparams_ss%P%n_ne = cparams_ss%P%n_ne/params%cpp%density
cparams_ss%P%Teo = cparams_ss%P%Teo/params%cpp%temperature
end subroutine normalize_params_ss