READ INPUT FROM FILE AND DISTRIBUTE TO WORKERS.
STATE VARS ARE EXPECTED INCLUDE GHOST CELLS. NOTE ALSO
THAT RECORD-BASED INPUT IS USED SO NO FILES > 2GB DUE
TO GFORTRAN BUG WHICH DISALLOWS 8 BYTE INTEGER RECORD
LENGTHS.
so that random values (including NaN) don't show up in Ghost cells
SYSTEM SIZES
READ IN FROM FILE, AS OF CURVILINEAR BRANCH THIS IS NOW THE ONLY INPUT OPTION
permute the dimensions so that 2D runs are parallelized
USER SUPPLIED FUNCTION TO TAKE A REFERENCE PROFILE AND CREATE INITIAL CONDITIONS FOR ENTIRE GRID.
ASSUMING THAT THE INPUT DATA ARE EXACTLY THE CORRECT SIZE (AS IS THE CASE WITH FILE INPUT) THIS IS NOW SUPERFLUOUS
dump loaded arrays for debugging
ROOT BROADCASTS IC DATA TO WORKERS
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.