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

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

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


Revision 1.30 - (show annotations) (download)
Tue May 24 14:31:14 2011 UTC (13 years, 1 month 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 C $Header: /u/gcmpack/MITgcm/pkg/obcs/obcs_prescribe_read.F,v 1.29 2011/04/17 03:20:51 jmc Exp $
2 C $Name: $
3
4 # include "OBCS_OPTIONS.h"
5
6 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
22 C !USES:
23 IMPLICIT NONE
24
25 C == global variables ==
26 #include "SIZE.h"
27 #include "EEPARAMS.h"
28 #include "PARAMS.h"
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
38 #ifdef ALLOW_OBCS_PRESCRIBE
39
40 C !LOCAL VARIABLES:
41 CEOP
42
43 # ifdef ALLOW_EXF
44 IF ( useEXF ) THEN
45 CALL OBCS_EXF_LOAD( myTime, myIter, myThid )
46 ENDIF
47 # endif /* ALLOW_EXF */
48
49 IF ( .NOT. useEXF ) THEN
50 cph#ifndef ALLOW_AUTODIFF_TAMC
51 CALL OBCS_FIELDS_LOAD( myTime, myIter, myThid )
52 cph#else
53 cph STOP 'PH HAS DISABLED THIS RUNTIME OPTION FOR ALLOW_EXF'
54 cph#endif
55 ENDIF
56
57 # ifdef ALLOW_OBCSN_CONTROL
58 CALL CTRL_GETOBCSN ( myTime, myIter, mythid )
59 # endif
60
61 # ifdef ALLOW_OBCSS_CONTROL
62 CALL CTRL_GETOBCSS ( myTime, myIter, mythid )
63 # endif
64
65 # ifdef ALLOW_OBCSW_CONTROL
66 CALL CTRL_GETOBCSW ( myTime, myIter, myThid )
67 # endif
68
69 # ifdef ALLOW_OBCSE_CONTROL
70 CALL CTRL_GETOBCSE ( myTime, myIter, myThid )
71 # endif
72
73 #endif /* ALLOW_OBCS_PRESCRIBE */
74
75 RETURN
76 END

  ViewVC Help
Powered by ViewVC 1.1.22