uniform_profiles Subroutine

private subroutine uniform_profiles(vars, P)

This subroutie is used only when the simulation is ran for a 'UNIFORM' plasma. As a convention, in a uniform plasma we set , , and .

Arguments

Type IntentOptional AttributesName
type(PARTICLES), intent(inout) :: vars

An instance of PARTICLES containing the variables of a given species.

type(PROFILES), intent(in) :: P

An instance of KORC's derived type PROFILES containing all the information about the plasma profiles used in the simulation. See korc_types and korc_profiles.


Called by

proc~~uniform_profiles~~CalledByGraph proc~uniform_profiles uniform_profiles proc~get_profiles get_profiles proc~get_profiles->proc~uniform_profiles proc~avalanche_4d Avalanche_4D proc~avalanche_4d->proc~get_profiles proc~get_avalanche_4d get_Avalanche_4D proc~get_avalanche_4d->proc~avalanche_4d

Contents

Source Code


Source Code

  subroutine uniform_profiles(vars,P)
    !! @note Subroutine that returns the value of uniform plasma p
    !! arameters. @endnote
    !! This subroutie is used only when the simulation is ran for a 'UNIFORM'
    !! plasma. As a convention, in a uniform plasma we set
    !! \(n_e = n_{e,0}\), \(T_e = T_{e,0}\), and \(Z_{eff} = Z_{eff,0}\).
    TYPE(PROFILES), INTENT(IN)     :: P
    !! An instance of KORC's derived type PROFILES containing all the information
    !! about the plasma profiles used in the simulation. See [[korc_types]]
    !! and [[korc_profiles]].
    TYPE(PARTICLES), INTENT(INOUT) :: vars
    !! An instance of PARTICLES containing the variables of a given species.

    vars%ne = P%neo
    vars%Te = P%Teo
    vars%Zeff = P%Zeffo
  end subroutine uniform_profiles