/[MITgcm]/MITgcm/pkg/icefront/icefront_init_varia.F
ViewVC logotype

Contents of /MITgcm/pkg/icefront/icefront_init_varia.F

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


Revision 1.10 - (show annotations) (download)
Sun Nov 10 02:58:34 2013 UTC (10 years, 8 months ago) by yunx
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.9: +1 -11 lines
Remove ALLOW_SUBGLACIAL_RUNOFF and relative code. Instead, subglacial runoff
is added using obcs pkg. An example is given at
MITgcm_contrib/icefront/2D_example

1 C $Header: /u/gcmpack/MITgcm/pkg/icefront/icefront_init_varia.F,v 1.9 2012/03/20 14:56:05 jmc Exp $
2 C $Name: $
3
4 #include "ICEFRONT_OPTIONS.h"
5
6 CBOP
7 SUBROUTINE ICEFRONT_INIT_VARIA( myThid )
8 C *============================================================*
9 C | SUBROUTINE ICEFRONT_INIT_VARIA |
10 C | o Routine to initialize ICEFRONT variables. |
11 C *============================================================*
12 C | Initialize ICEFRONT parameters and variables. |
13 C *============================================================*
14 IMPLICIT NONE
15
16 C === Global variables ===
17 #include "SIZE.h"
18 #include "EEPARAMS.h"
19 #include "PARAMS.h"
20 #include "GRID.h"
21 #include "ICEFRONT.h"
22
23 C === Routine arguments ===
24 C myThid - Number of this instance of ICEFRONT_INIT_VARIA
25 INTEGER myThid
26 CEndOfInterface
27
28 #ifdef ALLOW_ICEFRONT
29 C === Local variables ===
30 C I,J,K,bi,bj - Loop counters
31 INTEGER I, J, K, bi, bj
32 CEOP
33
34 DO bj = myByLo(myThid), myByHi(myThid)
35 DO bi = myBxLo(myThid), myBxHi(myThid)
36 DO K = 1, Nr
37 DO J = 1, sNy
38 DO I = 1, sNx
39 icefront_TendT (i,j,k,bi,bj) = 0. _d 0
40 icefront_TendS (i,j,k,bi,bj) = 0. _d 0
41 ENDDO
42 ENDDO
43 ENDDO
44 ENDDO
45 ENDDO
46
47 #endif /* ALLOW_ICEFRONT */
48
49 RETURN
50 END

  ViewVC Help
Powered by ViewVC 1.1.22