111 |
C-- Begin time stepping loop |
C-- Begin time stepping loop |
112 |
DO I=1, nTimeSteps |
DO I=1, nTimeSteps |
113 |
|
|
114 |
C-- Load offline tracer fields |
C-- Load forcing/external data fields |
115 |
IF ( MOD(myCurrentIter,numStepsPerPickup) .EQ. 1 ) THEN |
CALL LOAD_EXTERNAL_FIELDS( myCurrentTime, myCurrentIter, myThid ) |
|
C I/O |
|
|
C o Writes to arrays are performed by their own thread (to ensure |
|
|
C physical memory allocation will pair with thread). |
|
|
C o Thread 1 reads into a buffer. |
|
|
C CALL LOAD_OFFLINE_FIELDS( myCurrentTime, myCurrentIter, myThid ) |
|
|
ENDIF |
|
116 |
|
|
117 |
C-- Step forward fields and calculate time tendency terms |
C-- Step forward fields and calculate time tendency terms |
118 |
CALL DYNAMICS( myCurrentTime, myCurrentIter, myThid ) |
CALL DYNAMICS( myCurrentTime, myCurrentIter, myThid ) |