/[MITgcm]/MITgcm_contrib/jscott/pkg_atm2d/atm2d_finish.F
ViewVC logotype

Contents of /MITgcm_contrib/jscott/pkg_atm2d/atm2d_finish.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Aug 22 20:21:38 2006 UTC (19 years, 4 months ago) by jscott
Branch: MAIN
Changes since 1.1: +4 -1 lines
new revision of atm2d package

1 #include "ctrparam.h"
2 #ifdef OCEAN_3D
3 # include "ATM2D_OPTIONS.h"
4 #endif
5 C
6 SUBROUTINE ATM2D_FINISH(myThid)
7 C |==========================================================|
8 C | Initialization steps which depend on pickups loading |
9 C \==========================================================/
10 IMPLICIT NONE
11
12 # ifdef ATM2D_MPI_ON
13 # include "mpif.h"
14 # endif
15
16 C !INPUT/OUTPUT PARAMETERS:
17 C == Routine arguments ==
18 C myIter - iteration counter for this thread
19 C myTime - time counter for this thread
20 C myThid - thread number for this instance of the routine.
21 INTEGER myThid
22
23 C === Local variables ===
24 #ifdef OCEAN_3D
25 INTEGER rc
26 #endif
27
28 #ifdef CPL_TEM
29 c CALL tem_cleanup
30 #endif
31
32 Cmove below somewhere into MITCGM code
33 #ifdef ATM2D_MPI_ON
34 CALL MPI_BARRIER( MPI_COMM_WORLD, rc )
35 CALL MPI_FINALIZE(rc)
36 #endif
37
38 RETURN
39 END

  ViewVC Help
Powered by ViewVC 1.1.22