/[MITgcm]/MITgcm/model/src/freeze.F
ViewVC logotype

Annotation of /MITgcm/model/src/freeze.F

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


Revision 1.1 - (hide annotations) (download)
Mon May 3 21:45:57 1999 UTC (25 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint28, checkpoint29, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint26, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, checkpoint31, checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2
Branch point for: branch-atmos-merge
Added "freezing" subroutine. This can be viewed as a place-holder
holder for a fuller ice model. Currently, this routine simply
"caps" the temperatures to above -1.9 Celsius.

1 adcroft 1.1 C $Header: /u/gcmpack/models/MITgcmUV/model/src/freeze.F,v 1.16 1998/11/06 22:44:49 cnh Exp $
2    
3     #include "CPP_OPTIONS.h"
4    
5     C /==========================================================\
6     C | S/R FREEZE |
7     C | o Check water temperature and limit range of temperature |
8     C | appropriately. |
9     C \==========================================================/
10     SUBROUTINE FREEZE( bi, bj, iMin, iMax, jMin, jMax,
11     I K,
12     I myThid )
13     implicit none
14     C Common
15     #include "SIZE.h"
16     #include "DYNVARS.h"
17     #include "EEPARAMS.h"
18     #include "PARAMS.h"
19     #include "GRID.h"
20     C == Routine Arguments ==
21     INTEGER bi,bj,iMin,iMax,jMin,jMax
22     INTEGER K
23     INTEGER myThid
24     C == Local variables ==
25     INTEGER i,j
26     _RL Tfreezing
27    
28     Tfreezing=-1.9
29    
30     C Check for water that should have frozen
31     DO j=jMin,jMax
32     DO i=iMin,iMax
33     IF (gTNm1(i,j,k,bi,bj) .LT. Tfreezing) THEN
34     gTNm1(i,j,k,bi,bj)=Tfreezing
35     ENDIF
36     ENDDO
37     ENDDO
38    
39     RETURN
40     END

  ViewVC Help
Powered by ViewVC 1.1.22