/[MITgcm]/MITgcm/pkg/mom_common/mom_init_fixed.F
ViewVC logotype

Annotation of /MITgcm/pkg/mom_common/mom_init_fixed.F

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


Revision 1.2 - (hide annotations) (download)
Thu Sep 29 03:33:28 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58e_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57v_post, checkpoint58, checkpoint58f_post, checkpoint57x_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpint57u_post, checkpoint58a_post, checkpoint58g_post, checkpoint57z_post, checkpoint58b_post
Changes since 1.1: +28 -2 lines
try to fix non-lin. free-surf. version of side-drag.

1 jmc 1.2 C$Header: /u/gcmpack/MITgcm/pkg/mom_common/mom_init_fixed.F,v 1.1 2005/09/04 19:22:48 jmc Exp $
2 jmc 1.1 C$Name: $
3    
4     #include "MOM_COMMON_OPTIONS.h"
5    
6     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7     CBOP
8     C !ROUTINE: MOM_INIT_FIXED
9    
10     C !INTERFACE:
11     SUBROUTINE MOM_INIT_FIXED( myThid )
12    
13     C !DESCRIPTION:
14 jmc 1.2 C Initialize fixed quantities
15 jmc 1.1 C for momentum (common to fluxform & vecinv) packages
16    
17     C !USES:
18     IMPLICIT NONE
19     #include "SIZE.h"
20     #include "EEPARAMS.h"
21     #include "PARAMS.h"
22 jmc 1.2 #include "GRID.h"
23     #include "SURFACE.h"
24 jmc 1.1
25     C !INPUT PARAMETERS:
26     C myThid :: thread number
27     INTEGER myThid
28     CEOP
29    
30 jmc 1.2 C !LOCAL VARIABLES:
31     #ifdef NONLIN_FRSURF
32     C i,j,k,bi,bj :: loop counter
33     INTEGER i,j,k,bi,bj
34     #endif
35    
36     #ifdef NONLIN_FRSURF
37     C- used for side-drag:
38     DO bj=myByLo(myThid), myByHi(myThid)
39     DO bi=myBxLo(myThid), myBxHi(myThid)
40     DO k=1,Nr
41     DO j=1-Oly,sNy+Oly
42     DO i=1-Olx,sNx+Olx
43     h0FacC(i,j,k,bi,bj) = hFacC(i,j,k,bi,bj)
44     h0FacW(i,j,k,bi,bj) = hFacW(i,j,k,bi,bj)
45     h0FacS(i,j,k,bi,bj) = hFacS(i,j,k,bi,bj)
46     ENDDO
47     ENDDO
48     ENDDO
49     ENDDO
50     ENDDO
51     #endif /* NONLIN_FRSURF */
52    
53    
54 jmc 1.1 #ifdef ALLOW_DIAGNOSTICS
55     IF ( useDiagnostics ) THEN
56     CALL MOM_DIAGNOSTICS_INIT( myThid )
57     ENDIF
58     #endif /* ALLOW_DIAGNOSTICS */
59    
60     RETURN
61     END

  ViewVC Help
Powered by ViewVC 1.1.22