/[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.4 - (show annotations) (download)
Tue Aug 21 16:06:21 2007 UTC (18 years, 1 month ago) by jscott
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
remove old atm2d pkg repository

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 | Called from forward_step_atm2d the last time through the |
9 C | main loop -- thus, and opportunity to shut down MPI, do |
10 C | cleanup/finish routines. |
11 C \==========================================================/
12 IMPLICIT NONE
13
14 # ifdef ATM2D_MPI_ON
15 # include "mpif.h"
16 # endif
17
18 C !INPUT/OUTPUT PARAMETERS:
19 C == Routine arguments ==
20 C myIter - iteration counter for this thread
21 C myTime - time counter for this thread
22 C myThid - thread number for this instance of the routine.
23 INTEGER myThid
24
25 C === Local variables ===
26 #ifdef OCEAN_3D
27 INTEGER rc
28 #endif
29
30 #ifdef ATM2D_MPI_ON
31 CALL MPI_BARRIER( MPI_COMM_WORLD, rc )
32 CALL MPI_FINALIZE(rc)
33 #endif
34
35 RETURN
36 END

  ViewVC Help
Powered by ViewVC 1.1.22