/[MITgcm]/MITgcm_contrib/darwin/pkg/gchem/gchem_write_pickup.F
ViewVC logotype

Contents of /MITgcm_contrib/darwin/pkg/gchem/gchem_write_pickup.F

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


Revision 1.3 - (show annotations) (download)
Fri May 29 18:37:42 2009 UTC (17 years, 1 month ago) by stephd
Branch: MAIN
CVS Tags: ctrb_darwin_ckpt61r_20090626, ctrb_darwin_ckpt61t_20090820, ctrb_darwin_ckpt61v_20091024, ctrb_darwin_ckpt61w_20091024, ctrb_darwin_ckpt62a_20100117, ctrb_darwin_ckpt61s_20090630, ctrb_darwin_ckpt61y_20091120, ctrb_darwin_ckpt61q_20090626, ctrb_darwin_ckpt62_20091227, ctrb_darwin_ckpt61o_20090610, ctrb_darwin_ckpt61x_20091024, ctrb_darwin_ckpt61p_20090610, ctrb_darwin_ckpt61u_20090825, ctrb_darwin_ckpt62b_20100201, ctrb_darwin_ckpt61z_20091207, ctrb_darwin_ckpt62c_20100303
Changes since 1.2: +8 -1 lines
o additions for CO2 fluxes

1 C $Header: /u/gcmpack/MITgcm_contrib/darwin/pkg/gchem/gchem_write_pickup.F,v 1.2 2009/03/04 20:40:42 jahn Exp $
2 C $Name: $
3
4 #include "GCHEM_OPTIONS.h"
5 #ifdef ALLOW_DARWIN
6 #include "DARWIN_OPTIONS.h"
7 #endif
8
9 CBOP
10 C !ROUTINE: GCHEM_WRITE_PICKUP
11
12 C !INTERFACE: ==========================================================
13 SUBROUTINE GCHEM_WRITE_PICKUP( permPickup, suff,
14 I myTime, myIter, myThid )
15
16 C !DESCRIPTION:
17 C Writes pickup files needed for a restart
18 C (wrapper interface to GCHEM sub-packages)
19
20 C !USES: ===============================================================
21 IMPLICIT NONE
22 C === Global variables ===
23 #include "SIZE.h"
24 #include "EEPARAMS.h"
25 c#include "PARAMS.h"
26 #include "GCHEM.h"
27
28 C !INPUT PARAMETERS: ===================================================
29 C permPickup :: write a permanent pickup
30 C suff :: suffix for pickup file (eg. ckptA or 0000000010)
31 C myTime :: Current time in simulation
32 C myIter :: Current iteration number in simulation
33 C myThid :: My Thread Id number
34 LOGICAL permPickup
35 CHARACTER*(*) suff
36 _RL myTime
37 INTEGER myIter
38 INTEGER myThid
39 CEOP
40
41 #ifdef ALLOW_GCHEM
42 C !LOCAL VARIABLES:
43
44 #ifdef ALLOW_DIC
45 IF ( useDIC ) THEN
46 CALL DIC_WRITE_PICKUP( permPickup, suff,
47 I myTime, myIter, myThid )
48 ENDIF
49 #endif /* ALLOW_DIC */
50
51 #ifdef ALLOW_DARWIN
52 IF ( useDARWIN ) THEN
53 CALL DARWIN_WRITE_PICKUP( permPickup, suff,
54 I myTime, myIter, myThid )
55 #ifdef ALLOW_CARBON
56 CALL DIC_WRITE_PICKUP( permPickup, suff,
57 I myTime, myIter, myThid )
58 #endif
59 ENDIF
60 #endif /* ALLOW_DARWIN */
61
62 #endif /* ALLOW_GCHEM */
63 RETURN
64 END

  ViewVC Help
Powered by ViewVC 1.1.22