/[MITgcm]/MITgcm/pkg/obcs/obcs_prescribe_read.F
ViewVC logotype

Annotation of /MITgcm/pkg/obcs/obcs_prescribe_read.F

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


Revision 1.30 - (hide annotations) (download)
Tue May 24 14:31:14 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65d, checkpoint65e, checkpoint62z, checkpoint62y
Changes since 1.29: +1 -9 lines
split header file "OBCS.h" into 4 separated files:
  OBCS_PARAMS.h, OBCS_GRID.h, OBCS_FIELDS.h & OBCS_SEAICE.h

1 jmc 1.30 C $Header: /u/gcmpack/MITgcm/pkg/obcs/obcs_prescribe_read.F,v 1.29 2011/04/17 03:20:51 jmc Exp $
2 heimbach 1.1 C $Name: $
3    
4     # include "OBCS_OPTIONS.h"
5    
6 jmc 1.29 CBOP
7     C !ROUTINE: OBCS_PRESCRIBE_READ
8     C !INTERFACE:
9     SUBROUTINE OBCS_PRESCRIBE_READ (
10     I myTime, myIter, myThid )
11    
12     C !DESCRIPTION: \bv
13     C *============================================================*
14     C | SUBROUTINE OBCS_PRESCRIBE_READ
15     C *============================================================*
16     C | read open boundary conditions from file
17     C | N.B.: * uses exf and cal routines for file/record handling
18     C | * uses ctrl routines for control variable handling
19     C *============================================================*
20     C \ev
21 heimbach 1.1
22 jmc 1.29 C !USES:
23     IMPLICIT NONE
24 heimbach 1.1
25 jmc 1.29 C == global variables ==
26 jmc 1.15 #include "SIZE.h"
27 heimbach 1.1 #include "EEPARAMS.h"
28 jmc 1.15 #include "PARAMS.h"
29 jmc 1.29
30     C !INPUT/OUTPUT PARAMETERS:
31     C myTime :: Simulation time
32     C myIter :: Simulation timestep number
33     C myThid :: my Thread Id. number
34     _RL myTime
35     INTEGER myIter
36     INTEGER myThid
37 heimbach 1.1
38 jmc 1.29 #ifdef ALLOW_OBCS_PRESCRIBE
39 heimbach 1.1
40 jmc 1.29 C !LOCAL VARIABLES:
41     CEOP
42 mlosch 1.16
43 dimitri 1.19 # ifdef ALLOW_EXF
44 mlosch 1.16 IF ( useEXF ) THEN
45 jmc 1.29 CALL OBCS_EXF_LOAD( myTime, myIter, myThid )
46 mlosch 1.16 ENDIF
47 dimitri 1.19 # endif /* ALLOW_EXF */
48 mlosch 1.16
49 mlosch 1.27 IF ( .NOT. useEXF ) THEN
50     cph#ifndef ALLOW_AUTODIFF_TAMC
51 jmc 1.29 CALL OBCS_FIELDS_LOAD( myTime, myIter, myThid )
52 mlosch 1.27 cph#else
53     cph STOP 'PH HAS DISABLED THIS RUNTIME OPTION FOR ALLOW_EXF'
54     cph#endif
55     ENDIF
56    
57 dimitri 1.19 # ifdef ALLOW_OBCSN_CONTROL
58 jmc 1.29 CALL CTRL_GETOBCSN ( myTime, myIter, mythid )
59 dimitri 1.19 # endif
60 mlosch 1.16
61 dimitri 1.19 # ifdef ALLOW_OBCSS_CONTROL
62 jmc 1.29 CALL CTRL_GETOBCSS ( myTime, myIter, mythid )
63 dimitri 1.19 # endif
64 mlosch 1.16
65 dimitri 1.19 # ifdef ALLOW_OBCSW_CONTROL
66 jmc 1.29 CALL CTRL_GETOBCSW ( myTime, myIter, myThid )
67 dimitri 1.19 # endif
68 mlosch 1.16
69 dimitri 1.19 # ifdef ALLOW_OBCSE_CONTROL
70 jmc 1.29 CALL CTRL_GETOBCSE ( myTime, myIter, myThid )
71 dimitri 1.19 # endif
72 mlosch 1.16
73 jmc 1.29 #endif /* ALLOW_OBCS_PRESCRIBE */
74 heimbach 1.1
75 adcroft 1.6 RETURN
76     END

  ViewVC Help
Powered by ViewVC 1.1.22