1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/src/load_offline_fields.F,v 1.3 1998/04/26 23:41:54 cnh Exp $ |
2 |
|
3 |
#include "CPP_EEOPTIONS.h" |
4 |
|
5 |
CStartOfInterface |
6 |
SUBROUTINE LOAD_OFFLINE_FIELDS( myTime, myIter, myThid ) |
7 |
C /==========================================================\ |
8 |
C | SUBROUTINE LOAD_OFFLINE_FIELDS | |
9 |
C | o Control reading of fields for offline experiment. | |
10 |
C |==========================================================| |
11 |
C | Offline experiment flow field and other field loading | |
12 |
C | routine. This routine is called every time we want to | |
13 |
C | load a a set of offlinhe fields. The routine decides | |
14 |
C | which fields to load and then reads them in. | |
15 |
C | Notes | |
16 |
C | ===== | |
17 |
C | Two-dimensional and three-dimensional I/O are handled in | |
18 |
C | the following way under MITgcmUV. A master thread | |
19 |
C | performs I/O using system calls. This threads reads data | |
20 |
C | into a temporary buffer. At present the buffer is loaded | |
21 |
C | with the entire model domain. This is probably OK for now| |
22 |
C | Each thread then copies data from the buffer to the | |
23 |
C | region of the proper array it is responsible for. | |
24 |
C \==========================================================/ |
25 |
|
26 |
C === Global variables === |
27 |
#include "SIZE.h" |
28 |
#include "EEPARAMS.h" |
29 |
#include "PARAMS.h" |
30 |
#include "GRID.h" |
31 |
#include "CG2D.h" |
32 |
|
33 |
C === Routine arguments === |
34 |
C myThid - Thread no. that called this routine. |
35 |
C myTime - Simulation's time |
36 |
C myIter - Simulation's iteration number |
37 |
INTEGER myThid |
38 |
REAL myTime |
39 |
INTEGER myIter |
40 |
CEndOfInterface |
41 |
|
42 |
C === Local variables === |
43 |
|
44 |
RETURN |
45 |
END |