plasma.f90 uses submodules in plasma_input_.f90 and plasma_output_.f90 for raw, hdf5 or netcdf4 I/O
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | outdir | |||
integer, | intent(in) | :: | flagoutput | |||
integer, | intent(in), | dimension(3) | :: | ymd | ||
real(kind=wp), | intent(in) | :: | UTsec | |||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J3 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(-1:) | :: | x1 | ||
real(kind=wp), | intent(in), | dimension(-1:) | :: | x2all | ||
real(kind=wp), | intent(in), | dimension(-1:) | :: | x3all | ||
character(len=*), | intent(in) | :: | indatsize | |||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | Ts |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | outdir | |||
integer, | intent(in) | :: | flagoutput | |||
integer, | intent(in), | dimension(3) | :: | ymd | ||
real(kind=wp), | intent(in) | :: | UTsec | |||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs2 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs3 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | Ts | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | Phiall | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J3 |
WORKER INPUT FUNCTIONS FOR GETTING CURRENT DENSITIES
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J3 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | Ts |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs2 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs3 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | Ts | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J3 |
A BASIC WRAPPER FOR THE ROOT AND WORKER INPUT FUNCTIONS BOTH ROOT AND WORKERS CALL THIS PROCEDURE SO UNALLOCATED VARIABLES MUST BE DECLARED AS ALLOCATABLE, INTENT(INOUT)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(-1:) | :: | x1 | ||
real(kind=wp), | intent(in), | dimension(-1:) | :: | x2 | ||
real(kind=wp), | intent(in), | dimension(-1:) | :: | x3all | ||
character(len=*), | intent(in) | :: | indatsize | |||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(out), | dimension(-1:,-1:,-1:,:) | :: | Ts |
READS, AS INPUT, A FILE GENERATED BY THE GEMINI.F90 PROGRAM. THIS SUBROUTINE IS A WRAPPER FOR SEPARATE ROOT/WORKER CALLS
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | outdir | |||
integer, | intent(in) | :: | flagoutput | |||
integer, | intent(in), | dimension(3) | :: | ymd | ||
real(kind=wp), | intent(in) | :: | UTsec | |||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(out), | dimension(:,:,:) | :: | J3 |
A BASIC WRAPPER FOR THE ROOT AND WORKER OUTPUT FUNCTIONS BOTH ROOT AND WORKERS CALL THIS PROCEDURE SO UNALLOCATED VARIABLES MUST BE DECLARED AS ALLOCATABLE, INTENT(INOUT)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | outdir | |||
integer, | intent(in) | :: | flagoutput | |||
integer, | intent(in), | dimension(3) | :: | ymd | ||
real(kind=wp), | intent(in) | :: | UTsec | |||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs2 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs3 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | ns | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | vs1 | ||
real(kind=wp), | intent(in), | dimension(-1:,-1:,-1:,:) | :: | Ts | ||
real(kind=wp), | intent(inout), | dimension(:,:,:), allocatable | :: | Phiall | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J1 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J2 | ||
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | J3 |