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