/[MITgcm]/MITgcm/model/src/ini_masks_etc.F
ViewVC logotype

Log of /MITgcm/model/src/ini_masks_etc.F

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


Links to HEAD: (view) (download) (annotate)
Links to release1_final: (view) (download) (annotate)
Sticky Tag:

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 16:36:12 2001 UTC (22 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint43a-release1mods, checkpoint44, checkpoint44b_post, checkpoint44b_pre, checkpoint44e_post, checkpoint44e_pre, checkpoint44f_post, checkpoint44f_pre, checkpoint44g_post, checkpoint44h_post, checkpoint44h_pre, checkpoint45, checkpoint45a_post, checkpoint45b_post, checkpoint45c_post, checkpoint45d_post, checkpoint46, checkpoint46a_post, checkpoint46a_pre, checkpoint46b_post, checkpoint46b_pre, checkpoint46c_post, checkpoint46c_pre, checkpoint46d_post, checkpoint46d_pre, checkpoint46e_post, checkpoint46e_pre, checkpoint46f_post, checkpoint46g_pre, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, chkpt44d_post, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_final_v1
Branch point for: release1-branch, release1_final
Changes since 1.24: +3 -1 lines
Diff to previous 1.24
add a 2D full-column mask


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 18:09:15 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint41, checkpoint42, checkpoint43, ecco-branch-mod1, release1_b1, release1_beta1
Branch point for: ecco-branch, release1, release1_coupled
Changes since 1.23: +21 -15 lines
Diff to previous 1.23
Bringing comments up to data and formatting for document extraction.


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 18:42:37 2001 UTC (22 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40, checkpoint40pre9
Changes since 1.22: +16 -3 lines
Diff to previous 1.22
Change name and definition of k_surf (now ksurfC)
  compute also ksurfW,ksurfS (for NonLin-FreeSurf)


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 21:44:25 2001 UTC (22 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40pre2, checkpoint40pre3, checkpoint40pre4, checkpoint40pre5, checkpoint40pre6, checkpoint40pre7, checkpoint40pre8
Changes since 1.21: +18 -6 lines
Diff to previous 1.21
write hFacW and hFacS;
add a local common for multi-thread output of "Depth".


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue May 29 14:01:37 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre1
Changes since 1.20: +97 -74 lines
Diff to previous 1.20
Merge from branch pre38:
 o essential mods for cubed sphere
 o debugged atmosphere, dynamcis + physics (aim)
 o new packages (mom_vecinv, mom_fluxform, ...)


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 14:38:47 2001 UTC (23 years, 2 months ago) by cnh
Branch: MAIN
CVS Tags: c37_adj, checkpoint35, checkpoint36, checkpoint37, checkpoint38, checkpoint39
Branch point for: pre38
Changes since 1.19: +2 -1 lines
Diff to previous 1.19
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Feb 2 21:04:48 2001 UTC (23 years, 2 months ago) by adcroft
Branch: MAIN
Changes since 1.18: +139 -85 lines
Diff to previous 1.18
Merged changes from branch "branch-atmos-merge" into MAIN (checkpoint34)
 - substantial modifications to algorithm sequence (dynamics.F)
 - packaged OBCS, Shapiro filter, Zonal filter, Atmospheric Physics


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Apr 11 13:39:09 2000 UTC (24 years ago) by adcroft
Branch: MAIN
CVS Tags: branch-atmos-merge-phase1, branch-atmos-merge-phase2, branch-atmos-merge-phase3, branch-atmos-merge-phase4, branch-atmos-merge-phase5, branch-atmos-merge-phase6, branch-atmos-merge-start, checkpoint28, checkpoint29, checkpoint30, checkpoint31, checkpoint32, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Changes since 1.17: +7 -13 lines
Diff to previous 1.17
Modified the "lopping" procedure for determining the fraction cell
height.

The original formulation first filter the model depth using
the hFacMin parameter. Any fractional cells less than hFacMin
were rounded to the nearer of 0 or hFacMin. Then the depths were
filtered using hFacMinDr where the actual size was tested.
This meant that some cells could be rounded twice and also
that if hFacMinDr was specified as larger than the nominal
thickness that the fractional cell thickness could end up
larger than 1. Clearly a bad idea (?) but to cause this one
would have to specify the hFacMin and hFacMinDr parameters in
a inconsistent way.

The new method combines hFacMin and hFacMinDr first and then
does a single filtering of model depths. If hFacMinDr is
greater than the nominal layer thickness, the later is used
and the fractional cell thicknesses are set to 1. Otherwise,
layers thicknesses are rounded to using the larger of
hFacMin and hFacMinDr/drF(K).

Using the new method, setting hFacMin=0 and hFacMin=100
means that lopping only occurs for cell thicker than 100
and the minimum cell thickness of lopped cells will be 100.
This, I think, is a much cleaner specification. AJA.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue May 18 17:57:01 1999 UTC (24 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint26, checkpoint27
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
Corrected calculation of depthinK(:,:,:). Instigated by Ralf.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed May 5 18:32:34 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint21
Changes since 1.15: +38 -19 lines
Diff to previous 1.15
Implemented new I/O package (mdsio.F). This package does parallel
I/O in much the same way as dfile.F used to except it uses "direct
access" rather than (f77) unformatted sequential access.

Problems with dfile.F package included:
  o unnecessary memory use (each process had two global sized buffers)
  o inability to read the files it had written without post-processing
  o "tiled" files were tiled by process/thread rather than actual tiles
  o created huge numbers of files with no alternatives

Features of the mdsio.F package:
  o direct-access binary writes
  o no excessive memory use
  o ability to read/write from multiple record files
  o "tiled" files are based on "WRAPPER" tiles so that the number
    and content of files is independent of the number of threads
    and/or processes
  o option to create single "global" files rather than "tiled" files
  o ability to read both "global" and "tiled" files
    [Caveat: the tiling of files must match the model tiles]
  o checkpoints now use a single file per model section
    ie.  one file for the hydrostatic model core, one file
    for the non-hydrostatic extensions and one file for the C-D
    extensions
  o the mid-level I/O routines now is broken into more source files
    read_write_fld.F supplies basic I/O routines with the same interface
                     as the original I/O package
    read_write_rec.F supplies I/O routines which allow multiple records
    write_state.F    writes the model state
    checkpoint.F     supplies the read/write checkpoint routines

All the example input data has had to be modified to be direct-access.
Otherwise only routines that used I/O have been affected and not
all of those have been due to the continuity of arguments in
the read_write_fld.F routines.

What needs to be done?  We have to create a suite of conversion
utilities for users with old-style data. Also supply the option
for using old-style I/O, not just for die-hards but for reading
data too extensive to be converted. And more...


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Mar 22 15:54:04 1999 UTC (25 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint20
Changes since 1.14: +37 -2 lines
Diff to previous 1.14
Modifications for non-hydrostatic ability + updates for open-boundaries.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 10 00:16:16 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19
Changes since 1.13: +1 -5 lines
Diff to previous 1.13
Removed some silly diagnostics left-over from the early days.
(print *,'AAAA',...)


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Dec 9 16:11:52 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12
Added IMPLICIT NONE in a lot of subroutines.
Also corrected the recip_Rhonil bug: we didn't set it in ini_parms.F


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Dec 8 18:01:52 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
Changes since 1.11: +2 -6 lines
Diff to previous 1.11
Someone had added code to force full-cell formulation. Tut tut.
This code has been removed.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 22:44:47 1998 UTC (25 years, 5 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint18
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
Changes to allow for atmospheric integration builds of the code


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 03:34:12 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint17
Changes since 1.9: +14 -14 lines
Diff to previous 1.9
Changes for TAMC compatability.
Added exp0 a barotropic basin scale box example
Modified exp1 and exp2 to correct SIZE.h for Nr and
variable overlap width support.


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 03:11:37 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint16
Changes since 1.8: +9 -5 lines
Diff to previous 1.8
Changes to support
 - g77 compilation under Linux
 - LR(1) form of 64-bit is D or E for constants
 - Modified adjoint of exch with adjoint variables
   acuumulated.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Sep 29 18:50:57 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint15
Changes since 1.7: +5 -1 lines
Diff to previous 1.7
Changes for new exchange routines which do general tile <-> tile
connectivity, variable width overlap regions and provide
hooks for shared memory  and DMA protocols like Arctic, Memory Channel
etc..


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Sep 8 01:37:49 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint14
Changes since 1.6: +17 -2 lines
Diff to previous 1.6
Consistent isomorphism changes


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Sep 6 14:45:11 1998 UTC (25 years, 7 months ago) by cnh
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5
Consistent isomorphism changes


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 02:25:01 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4
Consistent isomorphism changes


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Aug 22 17:51:08 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
Changes since 1.3: +38 -38 lines
Diff to previous 1.3
Isomorphism consistency changes


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 18:33:47 1998 UTC (25 years, 9 months ago) by adcroft
Branch: MAIN
Changes since 1.2: +24 -9 lines
Diff to previous 1.2
Changed Z co-ordinate and lopping code:
o Z now increases upwards (ie. for the ocean, z<0)
  This needed changes only in ini_vertical_grid() where zC and zFace
  are calculated and in ini_masks_etc() where hFacC is calculated
  using IF's (eg. IF H(i,j,bi,bj).LT.zFace(K) ...).
o The lopping code needed a correction to the hydrostatic pressure
  calculation.
o Two new parameters control the lopping:
  hFacMin   - is the lower limit for water fraction in a cell
  hFacMinDz - is the lower limit for water thickness in lopped cells
  Both default to 0 so that pure lopping is the default.
  To force full cells, using continuous bathymetry, set hFacMin=1


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 15:46:21 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: branch-point-rdot, checkpoint11, checkpoint12, checkpoint13
Branch point for: branch-rdot
Changes since 1.1: +26 -16 lines
Diff to previous 1.1
Forgot this changes to ini_mask_etc() and ini_depths() in the
previous "rearrangement" of initialise().


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 14:17:11 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Re-arrangment of initialisation:
 o ini_grid is now called first and it sets up *only* the grid and
   coordinate system.
 o ini_depths then reads topography are can set it as a function of xC, yC.
 o ini_masks_etc then derives everything else (masks, lopping factors and
   recipricols).
This tidy-up is in preparation for the rDot transformation...(tense pause)!


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22