Module with subroutines for advancing the particles' position and velocity in the simulations.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=rp), | private | :: | E0 | Dimensionless vacuum permittivity , see korc_units. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in), | DIMENSION(3) | :: | a | Vector . |
|
real(kind=rp), | intent(in), | DIMENSION(3) | :: | b | Vector . |
Value of
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rp), | intent(in) | :: | x |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | pchunk | |||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | U_X | , where is the particle's velocity. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | U_Y | , where is the particle's velocity. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | U_Z | , where is the particle's velocity. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_X | Electric field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_Y | Electric field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_Z | Electric field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_X | Magnetic field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_Y | Magnetic field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_Z | Magnetic field seen by each particle. This is given in Cartesian coordinates. |
|
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | Frad_X | The calculated synchrotron radiation reaction force . |
|
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | Frad_Y | The calculated synchrotron radiation reaction force . |
|
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | Frad_Z | The calculated synchrotron radiation reaction force . |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
logical, | intent(in) | :: | output | |||
logical, | intent(in) | :: | step |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Calls radiation_force_p in korc_ppusher.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | tt | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | a | This variable is used to simplify notation in the code, and is given by , |
||
real(kind=rp), | intent(in) | :: | q_cache | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | m_cache | Time step used in the leapfrog step (). |
||
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | g | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | g | ||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(in) | :: | B0 | |||
real(kind=rp), | intent(in) | :: | lam | |||
real(kind=rp), | intent(in) | :: | R0 | |||
real(kind=rp), | intent(in) | :: | q0 | |||
real(kind=rp), | intent(in) | :: | EF0 | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Calls radiation_force_p in korc_ppusher.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | tt | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | a | This variable is used to simplify notation in the code, and is given by , |
||
real(kind=rp), | intent(in) | :: | q_cache | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | m_cache | Time step used in the leapfrog step (). |
||
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | g | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp |
Calls radiation_force_p in korc_ppusher.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | tt | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | a | This variable is used to simplify notation in the code, and is given by , |
||
real(kind=rp), | intent(in) | :: | q_cache | Time step used in the leapfrog step (). |
||
real(kind=rp), | intent(in) | :: | m_cache | Time step used in the leapfrog step (). |
||
type(KORC_PARAMS), | intent(in) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | X_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | g | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp | ||
type(C_PTR), | DIMENSION(params%pchunk) | :: | hint |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | X_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_X | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Y | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | g | ||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_X | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Y | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(inout) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(FIELDS), | intent(inout) | :: | F | An instance of the KORC derived type FIELDS. |
||
type(PROFILES), | intent(in) | :: | P | An instance of the KORC derived type PROFILES. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
integer(kind=is), | intent(inout), | dimension(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | dimension(params%pchunk) | :: | flagCol | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
type(FIELDS), | intent(in) | :: | F | An instance of the KORC derived type PROFILES. |
||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
real(kind=rp), | intent(in) | :: | m_cache | |||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(inout) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(inout) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(inout) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(inout) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(inout) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
type(SPECIES), | intent(inout), | DIMENSION(:), ALLOCATABLE | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
|
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | pchunk | |||
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | ne |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | E_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | E_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | ne | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | ni | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Te | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | Zeff | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk,params%num_impurity_species) | :: | nimp | ||
type(C_PTR), | intent(inout), | DIMENSION(params%pchunk) | :: | hint |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pchunk | Chunk iterator. |
||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | ne |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ne |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(PARTICLES), | intent(inout) | :: | vars | |||
integer, | intent(in) | :: | pp | |||
integer(kind=ip), | intent(in) | :: | tt | time iterator. |
||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in) | :: | m_cache | |||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(FIELDS), | intent(in) | :: | F | |||
type(PROFILES), | intent(in) | :: | P | |||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ne | ||
real(kind=rp), | intent(inout), | DIMENSION(params%pchunk) | :: | PSIp |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_PLL | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | pchunk | |||
integer(kind=ip), | intent(in) | :: | tt | |||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | RHS_R | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | RHS_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | RHS_Z | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | RHS_PLL | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | RHS_MU | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_R | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_R | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | E_Z | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(in), | DIMENSION(pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(pchunk) | :: | ne | ||
integer(kind=is), | intent(out), | DIMENSION(pchunk) | :: | flag_cache |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | tt | |||
type(PROFILES), | intent(in) | :: | P | |||
type(FIELDS), | intent(in) | :: | F | |||
type(KORC_PARAMS), | intent(inout) | :: | params | Core KORC simulation parameters. |
||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_R | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_PHI | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_Z | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_PLL | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | RHS_MU | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | B_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | E_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | curlb_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | gradB_Z | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | V_PLL | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | V_MU | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_R | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_PHI | ||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | Y_Z | ||
real(kind=rp), | intent(in) | :: | q_cache | |||
real(kind=rp), | intent(in) | :: | m_cache | |||
real(kind=rp), | intent(in), | DIMENSION(params%pchunk) | :: | PSIp | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ne | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | ni | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | nimp | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | Te | ||
real(kind=rp), | intent(out), | DIMENSION(params%pchunk) | :: | Zeff | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCon | ||
integer(kind=is), | intent(inout), | DIMENSION(params%pchunk) | :: | flagCol | ||
type(C_PTR), | intent(inout), | DIMENSION(params%pchunk) | :: | hint |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | pp | ||||
type(SPECIES), | intent(in) | :: | spp | An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation. |
||
real(kind=rp), | intent(inout), | DIMENSION(3) | :: | gradB | ||
real(kind=rp), | intent(inout), | DIMENSION(3) | :: | curlb | ||
real(kind=rp), | intent(in) | :: | Bmag |