/[MITgcm]/MITgcm/pkg/ocn_compon_interf/cpl_write_pickup.F
ViewVC logotype

Contents of /MITgcm/pkg/ocn_compon_interf/cpl_write_pickup.F

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


Revision 1.1 - (show annotations) (download)
Mon Dec 15 02:49:09 2003 UTC (20 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint52e_post, checkpoint52l_post, checkpoint52k_post, checkpoint53b_pre, checkpoint52m_post, checkpoint53a_post, checkpoint53b_post, checkpoint53, checkpoint52d_post, checkpoint52f_post, hrcube5, checkpoint52i_post, checkpoint52j_pre, checkpoint52i_pre, checkpoint52h_pre, checkpoint52f_pre, hrcube_2, hrcube_3
Ocean interface S/R to exchange with the coupler.

1 C $Header: $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE CPL_WRITE_PICKUP(
8 & prec, lgf, permCheckPoint, myIter, myThid)
9 C /==========================================================\
10 C | SUBROUTINE CPL_WRITE_PICKUP |
11 C | o Store coupling state for restart. |
12 C | - Oceanic version - |
13 C |==========================================================|
14 C | Presently, the atmospheric compon. is in charge of the |
15 C | writing of coupling fields ; nothing done here for now. |
16 C \==========================================================/
17 IMPLICIT NONE
18
19 C == Global variables ==
20 #include "SIZE.h"
21 #include "EEPARAMS.h"
22 #include "PARAMS.h"
23 #include "OCNCPL.h"
24
25 C == Routine arguments ==
26 C myThid - Thread number for this instance of the routine.
27 C myIter - Timestep number.
28 C permCheckpoint - Controls whether timestamped or rolling checkpoint.
29 C lgf - Controls whether global files are used.
30 INTEGER myIter
31 INTEGER myThid
32 LOGICAL permCheckPoint
33 INTEGER prec
34 LOGICAL lgf
35 CEndOfInterface
36
37 C == Local variables ==
38 C fn - Workspace for building file name
39 CHARACTER*(MAX_LEN_FNAM) fn
40
41 IF ( permCheckPoint ) THEN
42 WRITE(fn,'(A,I10.10)') 'pickup_cpl.',myIter
43 ELSE
44 WRITE(fn,'(A,A)') 'pickup_cpl.',checkPtSuff(nCheckLev)
45 ENDIF
46 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,SSTocn2cpl, 1,myIter,myThid)
47 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,HeatFlux , 2,myIter,myThid)
48 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,tauX , 3,myIter,myThid)
49 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,tauY , 4,myIter,myThid)
50 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,FWFlux , 5,myIter,myThid)
51 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,uVelGround, 6,myIter,myThid)
52 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,vVelGround, 7,myIter,myThid)
53 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qLatent , 8,myIter,myThid)
54 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qSensible , 9,myIter,myThid)
55 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qLongwave ,10,myIter,myThid)
56 c CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qShortwave,11,myIter,myThid)
57
58 RETURN
59 END

  ViewVC Help
Powered by ViewVC 1.1.22