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

Annotation of /MITgcm/pkg/aim_compon_interf/cpl_write_pickup.F

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


Revision 1.1 - (hide annotations) (download)
Mon Dec 15 02:44:48 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint53b_pre, checkpoint52l_pre, checkpoint52e_pre, hrcube4, checkpoint52n_post, checkpoint52j_post, checkpoint52e_post, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint52m_post, checkpoint53a_post, checkpoint53b_post, checkpoint53, checkpoint52d_post, checkpoint52f_post, hrcube5, checkpoint52i_post, checkpoint52i_pre, checkpoint52h_pre, checkpoint52f_pre, hrcube_2, hrcube_3
AIM atmosphere interface S/R for exchanges with the coupler.

1 jmc 1.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 | - Atmospheric version - |
13     C \==========================================================/
14     IMPLICIT NONE
15    
16     C == Global variables ==
17     #include "SIZE.h"
18     #include "EEPARAMS.h"
19     #include "PARAMS.h"
20     #include "ATMCPL.h"
21    
22     C == Routine arguments ==
23     C myThid - Thread number for this instance of the routine.
24     C myIter - Timestep number.
25     C permCheckpoint - Controls whether timestamped or rolling checkpoint.
26     C lgf - Controls whether global files are used.
27     INTEGER myIter
28     INTEGER myThid
29     LOGICAL permCheckPoint
30     INTEGER prec
31     LOGICAL lgf
32     CEndOfInterface
33    
34     C == Local variables ==
35     C fn - Workspace for building file name
36     CHARACTER*(MAX_LEN_FNAM) fn
37    
38     IF ( permCheckPoint ) THEN
39     WRITE(fn,'(A,I10.10)') 'pickup_cpl.',myIter
40     ELSE
41     WRITE(fn,'(A,A)') 'pickup_cpl.',checkPtSuff(nCheckLev)
42     ENDIF
43     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,SSTocn , 1,myIter,myThid)
44     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,HeatFlux , 2,myIter,myThid)
45     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,tauX , 3,myIter,myThid)
46     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,tauY , 4,myIter,myThid)
47     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,EvMPrFlux , 5,myIter,myThid)
48     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,RunOffFlux, 6,myIter,myThid)
49     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,uVelGround, 7,myIter,myThid)
50     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,vVelGround, 8,myIter,myThid)
51     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qLatent , 9,myIter,myThid)
52     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qSensible ,10,myIter,myThid)
53     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qLongwave ,11,myIter,myThid)
54     CALL MDSWRITEFIELD(fn,prec,lgf,'RL',1,qShortwave,12,myIter,myThid)
55    
56     RETURN
57     END

  ViewVC Help
Powered by ViewVC 1.1.22