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

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

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


Revision 1.6 - (show annotations) (download)
Sun Nov 10 02:58:34 2013 UTC (10 years, 5 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.5: +1 -33 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_check.F,v 1.5 2010/04/30 22:10:39 yunx Exp $
2 C $Name: $
3 #include "ICEFRONT_OPTIONS.h"
4
5 SUBROUTINE ICEFRONT_CHECK( myThid )
6 C /==========================================================\
7 C | SUBROUTINE ICEFRONT_CHECK |
8 C | o Validate basic package setup and inter-package |
9 C | dependencies. |
10 C \==========================================================/
11 IMPLICIT NONE
12
13 C === Global variables ===
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "PARAMS.h"
17 #include "ICEFRONT.h"
18
19 C === Routine arguments ===
20 C myThid - Number of this instance of ICEFRONT_CHECK
21 INTEGER myThid
22
23 #ifdef ALLOW_ICEFRONT
24
25 C === Local variables ===
26 C msgBuf - Informational/error meesage buffer
27 CHARACTER*(MAX_LEN_MBUF) msgBuf
28
29 _BEGIN_MASTER(myThid)
30
31 WRITE(msgBuf,'(A)') 'ICEFRONT_CHECK: #define ALLOW_ICEFRONT'
32 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
33 & SQUEEZE_RIGHT, myThid )
34
35 C So far, ICEFRONT works only with oceanic z-coordinates
36 IF ( buoyancyRelation .NE. 'OCEANIC' ) THEN
37 WRITE(msgBuf,'(A)')
38 & 'ICEFRONT works only with buoyancyRelation = ''OCEANIC'''
39 CALL PRINT_ERROR( msgBuf, myThid )
40 STOP 'ABNORMAL END: S/R ICEFRONT_CHECK'
41 ENDIF
42
43
44 CML#ifdef ALLOW_NONHYDROSTATIC
45 CML IF ( nonHydrostatic ) THEN
46 CML WRITE(msgBuf,'(A)')
47 CML & 'Currently ICEFRONT and nonHydrostatic cannot be turned'
48 CML CALL PRINT_ERROR( msgBuf , 1)
49 CML WRITE(msgBuf,'(A)') 'on at the same time'
50 CML CALL PRINT_ERROR( msgBuf , 1)
51 CML STOP 'ABNORMAL END: S/R ICEFRONT_CHECK'
52 CML ENDIF
53 CML#endif /* ALLOW_NONHYDROSTATIC */
54
55 _END_MASTER(myThid)
56
57 #endif /* ALLOW_ICEFRONT */
58
59 RETURN
60 END

  ViewVC Help
Powered by ViewVC 1.1.22