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

Annotation of /MITgcm_contrib/jscott/pkg_atm2d/pass_seaice_fluxes.F

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


Revision 1.1 - (hide annotations) (download)
Fri Aug 11 18:55:50 2006 UTC (19 years, 7 months ago) by jscott
Branch: MAIN
new 2d atm package

1 jscott 1.1 #include "ctrparam.h"
2     #include "ATM2D_OPTIONS.h"
3    
4     C !INTERFACE:
5     SUBROUTINE PASS_SEAICE_FLUXES( myThid )
6     C *==========================================================*
7     C | Called after each atm time step - put Qneti, dF/dT, solar|
8     c | for seaice to use, accumlate precip fluxes. |
9     C *==========================================================*
10     IMPLICIT NONE
11    
12     #include "ATMSIZE.h"
13     #include "SIZE.h"
14     #include "GRID.h"
15     #include "EEPARAMS.h"
16    
17     C === Global SeaIce Variables ===
18     #include "THSICE_PARAMS.h"
19     #include "THSICE_VARS.h"
20    
21     C === Atmos/Ocean/Seaice Interface Variables ===
22     #include "ATM2D_VARS.h"
23    
24    
25     C !INPUT/OUTPUT PARAMETERS:
26     C === Routine arguments ===
27     C myThid - Thread no. that called this routine.
28     INTEGER myThid
29    
30     C LOCAL VARIABLES:
31     INTEGER i,j
32    
33     DO j=1, sNy
34     DO i=1, sNx
35    
36     CJRS ask J-M about next lines
37     icFlxAtm(i,j,1,1) = -qneti_2D(i,j)
38     icFlxSw(i,j,1,1) = - solarinc_2D(i,j) !at this point, incident SW
39     dFdT(i,j,1,1) = - dFdT_ice_2D(i,j)
40    
41     C Note converted to ice model sign convention below
42     sum_prcIce(i,j) = sum_prcIce(i,j) - precipi_2D(i,j)*rhofw
43     sum_evapIce(i,j) = sum_evapIce(i,j) - evapi_2D(i,j)*rhofw
44     IF (Tair_2D(i,j).LE.0.D0)
45     & sum_snowPrc(i,j) = sum_snowPrc(i,j) - precipi_2D(i,j)*rhofw
46     C IF (iceMask(i,j,1,1).GT.0.D0) THEN
47     C PRINT *,'Pass seaice fluxes at, T :',i,j,Tair_2D(i,j)
48     C PRINT *,precipi_2D(i,j),sum_snowPrc(i,j)
49     C ENDIF
50    
51     ENDDO
52     ENDDO
53    
54    
55     RETURN
56     END

  ViewVC Help
Powered by ViewVC 1.1.22