[Dart-dev] [3253] DART/trunk/models/MITgcm_ocean/model_mod.f90:
commit a version which actually compiles.
nancy at subversion.ucar.edu
nancy at subversion.ucar.edu
Thu Mar 13 14:30:44 MDT 2008
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20080313/1acbe2b2/attachment.html
-------------- next part --------------
Modified: DART/trunk/models/MITgcm_ocean/model_mod.f90
===================================================================
--- DART/trunk/models/MITgcm_ocean/model_mod.f90 2008-03-13 20:24:10 UTC (rev 3252)
+++ DART/trunk/models/MITgcm_ocean/model_mod.f90 2008-03-13 20:30:44 UTC (rev 3253)
@@ -18,20 +18,21 @@
use time_manager_mod, only : time_type, set_time
use location_mod, only : location_type, get_close_maxdist_init, &
get_close_obs_init, get_close_obs, set_location
-use utilities_mod, only : register_module, error_handler, E_ERR, E_MSG, logfileunit
- ! find_namelist_in_file, check_namelist_read
+use utilities_mod, only : register_module, error_handler, E_ERR, E_MSG, &
+ logfileunit, &
+ find_namelist_in_file, check_namelist_read
use obs_kind_mod, only : KIND_TEMPERATURE
+implicit none
+private
+
! FIXME: these belong in obs_kind
integer, parameter :: KIND_U_CURRENT_COMPONENT = 90
integer, parameter :: KIND_V_CURRENT_COMPONENT = 91
integer, parameter :: KIND_SALINITY = 92
integer, parameter :: KIND_SEA_SURFACE_HEIGHT = 93
-implicit none
-private
-
public :: get_model_size, &
adv_1step, &
get_state_meta_data, &
@@ -131,7 +132,7 @@
!-- Time stepping parameters variable declarations
real(r8) :: nIter0, nTimeSteps, nEndIter, pickupSuff, &
deltaT, deltaTClock, deltaTmom, &
- deltaTtracer, dTtracerLev(Nr), deltaTfreesurf
+ deltaTtracer, dTtracerLev(Nr), deltaTfreesurf, &
abEps, alph_AB, beta_AB, &
tauCD, rCD, &
baseTime, startTime, endTime, chkPtFreq, &
@@ -150,7 +151,7 @@
!-- Gridding parameters variable declarations
logical :: usingCartesianGrid, usingCylindricalGrid, &
usingSphericalPolarGrid, usingCurvilinearGrid, &
- deepAtmosphere, &
+ deepAtmosphere
real(r8) :: dxSpacing, dySpacing, delX(Nx), delY(Ny), &
phiMin, thetaMin, rSphere, &
Ro_SeaLevel, delZ, delP, delR(Nr), delRc(Nr+1), &
@@ -160,7 +161,7 @@
horizGridFile
!-- Input files variable declarations
-character(len=MAX_LEN_FNAM) ::
+character(len=MAX_LEN_FNAM) :: &
bathyFile, topoFile, shelfIceFile, &
hydrogThetaFile, hydrogSaltFile, diffKrFile, &
zonalWindFile, meridWindFile, &
@@ -198,7 +199,7 @@
integer, parameter :: SSH_index = 5
! grid counts for each field
-integer :: nx(nfields), ny(nfields), nz(nfields)
+integer :: num_x(nfields), num_y(nfields), num_z(nfields)
integer :: start_index(nfields)
! location information - these grids can either be regularly
@@ -240,6 +241,7 @@
! Called to do one time initialization of the model. In this case,
! it reads in the grid information and then the model data.
+integer :: iunit, io
! Print module information to log file and stdout.
call register_module(source, revision, revdate)
More information about the Dart-dev
mailing list