Module that contain subroutines for calculating analytical plasma profiles and calls to subroutines for interpolating external plasma profiles to the particles positions.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
type(PROFILES), | intent(out) | :: | 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(FIELDS), | intent(in) | :: | F | String containing the type of electron density profile to be used in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | pchunk | |||
real(kind=rp), | intent(in) | :: | time | |||
type(KORC_PARAMS), | intent(in) | :: | params | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_Z | ||
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(FIELDS), | intent(in) | :: | F | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ne | Background electron density seen by simulated particles. |
|
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | Te | Backgroun temperature density seen by simulated particles. |
|
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | Zeff | Effective atomic charge seen by simulated particles. |
|
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
||
real(kind=rp), | intent(in), | DIMENSION(:,:), ALLOCATABLE | :: | Y | Particles' position in toroidal coordinates; Y(1,:) = , Y(2,:) = , Y(3,:) = . |
|
real(kind=rp), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | ne | Background electron density seen by simulated particles. |
|
real(kind=rp), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | Te | Backgroun temperature density seen by simulated particles. |
|
real(kind=rp), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | Zeff | Effective atomic charge seen by simulated particles. |
|
integer(kind=is), | intent(in), | DIMENSION(:), ALLOCATABLE | :: | flag | Flag for each particle to decide whether it is being followed (flag=T) or not (flag=F). |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
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. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
type(PROFILES), | intent(inout) | :: | 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. |
@brief Subroutine that allocates the mesh information and 2-D arrays for keeping the data of pre-computed plasma profiles.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | |||
type(PROFILES), | intent(inout) | :: | P |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PROFILES), | intent(inout) | :: | P | @param[out] 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 | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PROFILES), | intent(inout) | :: | P |