/[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.4 - (hide annotations) (download)
Wed Sep 26 18:09:15 2001 UTC (22 years, 9 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint44e_post, checkpoint46l_post, checkpoint46g_pre, release1_p13_pre, checkpoint46f_post, checkpoint46b_post, checkpoint43a-release1mods, checkpoint44g_post, release1_p13, checkpoint46l_pre, chkpt44d_post, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, checkpoint44e_pre, release1_b1, checkpoint43, release1_chkpt44d_post, release1_p11, icebear5, icebear4, icebear3, icebear2, checkpoint46d_pre, release1-branch_tutorials, checkpoint45d_post, checkpoint46j_pre, chkpt44a_post, checkpoint44h_pre, checkpoint46a_post, checkpoint46j_post, checkpoint46k_post, checkpoint46b_pre, chkpt44c_pre, checkpoint45a_post, ecco_c44_e19, ecco_c44_e18, ecco_c44_e17, ecco_c44_e16, release1_p12, release1_p10, release1_p16, release1_p17, release1_p14, release1_p15, checkpoint46e_pre, checkpoint45b_post, release1-branch-end, release1_final_v1, release1_p12_pre, checkpoint46c_pre, checkpoint46, checkpoint44f_post, checkpoint44b_post, checkpoint46h_pre, checkpoint46m_post, checkpoint46a_pre, checkpoint45c_post, ecco_ice2, ecco_ice1, checkpoint44h_post, checkpoint46g_post, ecco_c44_e22, ecco_c44_e25, chkpt44a_pre, checkpoint46i_post, ecco_c44_e23, ecco_c44_e20, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, checkpoint46c_post, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, checkpoint46e_post, release1_beta1, checkpoint44b_pre, checkpoint42, checkpoint41, checkpoint47, checkpoint44, checkpoint45, checkpoint46h_post, chkpt44c_post, checkpoint44f_pre, checkpoint46d_post, release1-branch_branchpoint
Branch point for: c24_e25_ice, release1_coupled, release1_final, release1-branch, release1, ecco-branch, release1_50yr, icebear
Changes since 1.3: +21 -8 lines
Bringing comments up to data and formatting for document extraction.

1 cnh 1.4 C $Header: /u/gcmpack/models/MITgcmUV/model/src/freeze.F,v 1.3 2001/09/19 02:43:27 adcroft Exp $
2 adcroft 1.3 C $Name: $
3 adcroft 1.1
4     #include "CPP_OPTIONS.h"
5    
6 cnh 1.4 CBOP
7     C !ROUTINE: FREEZE
8     C !INTERFACE:
9 adcroft 1.1 SUBROUTINE FREEZE( bi, bj, iMin, iMax, jMin, jMax,
10     I K,
11     I myThid )
12 cnh 1.4 C !DESCRIPTION: \bv
13     C *==========================================================*
14     C | S/R FREEZE
15     C | o Check water temperature and limit range of temperature
16     C | appropriately.
17     C *==========================================================*
18     C \ev
19    
20     C !USES:
21     IMPLICIT NONE
22     C == Global variables ==
23 adcroft 1.1 #include "SIZE.h"
24     #include "DYNVARS.h"
25     #include "EEPARAMS.h"
26     #include "PARAMS.h"
27     #include "GRID.h"
28 cnh 1.4
29     C !INPUT/OUTPUT PARAMETERS:
30 adcroft 1.1 C == Routine Arguments ==
31     INTEGER bi,bj,iMin,iMax,jMin,jMax
32     INTEGER K
33     INTEGER myThid
34 cnh 1.4
35     C !LOCAL VARIABLES:
36 adcroft 1.1 C == Local variables ==
37 cnh 1.4 C Tfreezing :: Freezing threshold temperature.
38 adcroft 1.1 INTEGER i,j
39     _RL Tfreezing
40 cnh 1.4 CEOP
41 adcroft 1.1
42     Tfreezing=-1.9
43    
44     C Check for water that should have frozen
45     DO j=jMin,jMax
46     DO i=iMin,iMax
47 adcroft 1.3 IF (gT(i,j,k,bi,bj) .LT. Tfreezing) THEN
48     gT(i,j,k,bi,bj)=Tfreezing
49 adcroft 1.1 ENDIF
50     ENDDO
51     ENDDO
52    
53     RETURN
54     END

  ViewVC Help
Powered by ViewVC 1.1.22