COLLECT OUTPUT FROM WORKERS AND WRITE TO A FILE USING STREAM I/O. STATE VARS ARE EXPECTED INCLUDE GHOST CELLS
RADD--- NEED TO ALSO GATHER FULL GRID ELECTRODYANMICS PARAMTERS FROM WORKERS FIGURE OUT THE FILENAME 2D simulation NOTE: J3,J2 and V3, V2 are swapped in name like this Check for any NaN before proceeding to next time step
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 |