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

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

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


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

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 02:18:16 2013 UTC (11 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k, checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u, checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y, checkpoint64z, checkpoint65, checkpoint65a, checkpoint65b, checkpoint65c, checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n, checkpoint65o, checkpoint65p, checkpoint65q, checkpoint65r, checkpoint65s, checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x, checkpoint65y, checkpoint65z, checkpoint66a, checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f, checkpoint66g, checkpoint66h, checkpoint66i, checkpoint66j, checkpoint66k, checkpoint66l, checkpoint66m, checkpoint66n, checkpoint66o
Changes since 1.24: +8 -25 lines
Diff to previous 1.24
- move initialisation of all horizontal grid arrays to null value
  from specific horizontal grid S/R to main S/R INI_GRID;
- initialise new projection array for model C-grid velocity;
- initialise horizontal grid reciprocal arrays.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Dec 22 00:11:11 2011 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c
Changes since 1.23: +1 -5 lines
Diff to previous 1.23
remove/avoid un-used variables


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Dec 12 19:01:01 2011 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63g
Changes since 1.22: +59 -128 lines
Diff to previous 1.22
new S/R INI_LOCAL_GRID to define model tile-local grid (using same units
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID
and INI_SPHERICAL_POLAR_GRID.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Apr 17 18:25:12 2010 UTC (14 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j, checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u, checkpoint62v, checkpoint62w, checkpoint62x, checkpoint62y, checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f
Changes since 1.21: +87 -69 lines
Diff to previous 1.21
add code for Exch2 IO layout:
 (not always compatible with delX,delY setting; commented out for now)
add some _d 0 ; clean-up variable description.


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Jan 27 15:35:27 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61i, checkpoint61j, checkpoint61k, checkpoint61l, checkpoint61m, checkpoint61n, checkpoint61o, checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x, checkpoint61y, checkpoint61z, checkpoint62, checkpoint62a, checkpoint62b, checkpoint62c, checkpoint62d, checkpoint62e
Changes since 1.20: +37 -36 lines
Diff to previous 1.20
rename thetaMin,phiMin -> xgOrigin,ygOrigin
 (temporary backward compatibility in ini_parms.F, until next checkpoint)


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Oct 17 18:52:34 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, checkpoint59b, checkpoint59c, checkpoint59d, checkpoint59e, checkpoint59f, checkpoint59g, checkpoint59h, checkpoint59i, checkpoint59j, checkpoint59k, checkpoint59l, checkpoint59m, checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q, checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d, checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, mitgcm_mapl_00
Changes since 1.19: +3 -3 lines
Diff to previous 1.19
clean-up multi-threaded problems (reported by debugger tcheck on ACES).


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Jul 31 22:07:48 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57p_post, checkpoint57q_post, checkpoint57r_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post, checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58, checkpoint58a_post, checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post, checkpoint58f_post, checkpoint58g_post, checkpoint58h_post, checkpoint58i_post, checkpoint58j_post, checkpoint58k_post, checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post
Changes since 1.18: +12 -1 lines
Diff to previous 1.18
reading of delXfile & delYfile moved from ini_parms.F to ini_grid.F
(ini_parms.F is shorter ; allows later to read from netcdf files)


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Jul 13 00:36:01 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post
Changes since 1.17: +5 -2 lines
Diff to previous 1.17
set grid-direction orientation angle to zero (Cos=1,Sin=0).


Revision 1.17 - (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: branch-exfmods-tag, branch-netcdf, branchpoint-genmake2, checkpoint41, checkpoint42, checkpoint43, 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_post, checkpoint46g_pre, checkpoint46h_post, checkpoint46h_pre, checkpoint46i_post, checkpoint46j_post, checkpoint46j_pre, checkpoint46k_post, checkpoint46l_post, checkpoint46l_pre, checkpoint46m_post, checkpoint46n_post, checkpoint47, checkpoint47a_post, checkpoint47b_post, checkpoint47c_post, checkpoint47d_post, checkpoint47d_pre, checkpoint47e_post, checkpoint47f_post, checkpoint47g_post, checkpoint47h_post, checkpoint47i_post, checkpoint47j_post, checkpoint48, checkpoint48a_post, checkpoint48b_post, checkpoint48c_post, checkpoint48c_pre, checkpoint48d_post, checkpoint48d_pre, checkpoint48e_post, checkpoint48f_post, checkpoint48g_post, checkpoint48h_post, checkpoint48i_post, checkpoint49, checkpoint50, checkpoint50a_post, checkpoint50b_post, checkpoint50b_pre, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre, checkpoint50e_post, checkpoint50e_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint50g_post, checkpoint50h_post, checkpoint50i_post, checkpoint51, checkpoint51a_post, checkpoint51b_post, checkpoint51b_pre, checkpoint51c_post, checkpoint51d_post, checkpoint51e_post, checkpoint51f_post, checkpoint51f_pre, checkpoint51g_post, checkpoint51h_pre, checkpoint51i_post, checkpoint51i_pre, checkpoint51j_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre, checkpoint51p_post, checkpoint51q_post, checkpoint51r_post, checkpoint51s_post, checkpoint51t_post, checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, checkpoint52b_post, checkpoint52b_pre, checkpoint52c_post, checkpoint52d_post, checkpoint52d_pre, checkpoint52e_post, checkpoint52e_pre, checkpoint52f_post, checkpoint52f_pre, checkpoint52h_pre, checkpoint52i_post, checkpoint52i_pre, checkpoint52j_post, checkpoint52j_pre, checkpoint52k_post, checkpoint52l_post, checkpoint52l_pre, checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_post, checkpoint54a_pre, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post, checkpoint54f_post, checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post, checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre, checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post, checkpoint57e_post, checkpoint57f_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57g_pre, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre, checkpoint57i_post, checkpoint57j_post, checkpoint57k_post, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, chkpt44d_post, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, ecco_c44_e16, ecco_c44_e17, ecco_c44_e18, ecco_c44_e19, ecco_c44_e20, ecco_c44_e21, ecco_c44_e22, ecco_c44_e23, ecco_c44_e24, ecco_c44_e25, ecco_c44_e26, ecco_c44_e27, ecco_c50_e28, ecco_c50_e29, ecco_c50_e30, ecco_c50_e31, ecco_c50_e32, ecco_c50_e33, ecco_c50_e33a, ecco_c51_e34, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c52_e35, ecco_ice1, ecco_ice2, eckpoint57e_pre, hrcube4, hrcube5, hrcube_1, hrcube_2, hrcube_3, icebear2, icebear3, icebear4, icebear5, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_b1, release1_beta1, release1_chkpt44d_post, release1_final_v1, release1_p1, release1_p10, release1_p11, release1_p12, release1_p12_pre, release1_p13, release1_p13_pre, release1_p14, release1_p15, release1_p16, release1_p17, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_p8, release1_p9
Branch point for: branch-exfmods-curt, branch-genmake2, branch-nonh, c24_e25_ice, checkpoint51n_branch, ecco-branch, icebear, netcdf-sm0, release1, release1-branch, release1_50yr, release1_coupled, release1_final, tg2-branch
Changes since 1.16: +46 -39 lines
Diff to previous 1.16
Bringing comments up to data and formatting for document extraction.


Revision 1.16 - (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: checkpoint40, checkpoint40pre1, checkpoint40pre2, checkpoint40pre3, checkpoint40pre4, checkpoint40pre5, checkpoint40pre6, checkpoint40pre7, checkpoint40pre8, checkpoint40pre9
Changes since 1.15: +140 -110 lines
Diff to previous 1.15
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.15.2.2 - (view) (download) (annotate) - [select for diffs]
Fri Mar 16 17:19:13 2001 UTC (23 years, 1 month ago) by adcroft
Branch: pre38
CVS Tags: pre38-close, pre38tag1
Changes since 1.15.2.1: +131 -113 lines
Diff to previous 1.15.2.1 , to branch point 1.15 , to next main 1.25
Re-wrote to be more like ini_spherical_grid.F so that it does not
use _EXCH's at all.


Revision 1.15.2.1 - (view) (download) (annotate) - [select for diffs]
Thu Mar 15 15:12:57 2001 UTC (23 years, 1 month ago) by adcroft
Branch: pre38
Changes since 1.15: +14 -2 lines
Diff to previous 1.15
Cosine(latitude) scaling:
 - moved initializatino to grid routines
 - updated discretization to use "method III" and optionally an-isotropic
 - introduced same scaling for diffusion


Revision 1.15 - (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.14: +2 -1 lines
Diff to previous 1.14
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.14 - (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.13: +14 -8 lines
Diff to previous 1.13
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.13.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Jan 26 16:57:19 2001 UTC (23 years, 3 months ago) by jmc
Branch: branch-atmos-merge
CVS Tags: branch-atmos-merge-freeze
Changes since 1.13: +14 -8 lines
Diff to previous 1.13 , to next main 1.25
added xG,yG arrays (coordinates of cells corner)
added redip of area* (recip_rA*)
use different formulas for caculating spherical grid


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Mar 27 22:25:44 2000 UTC (24 years, 1 month 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-phase7, branch-atmos-merge-shapiro, branch-atmos-merge-start, branch-atmos-merge-zonalfilt, checkpoint26, checkpoint27, checkpoint28, checkpoint29, checkpoint30, checkpoint31, checkpoint32, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Changes since 1.12: +3 -9 lines
Diff to previous 1.12
Removed unused variables and fixed some unitialized variables.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Dec 9 16:11:52 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19, checkpoint20, checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25
Changes since 1.11: +2 -1 lines
Diff to previous 1.11
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.11 - (view) (download) (annotate) - [select for diffs]
Mon Nov 30 23:45:24 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
Changes since 1.10: +6 -2 lines
Diff to previous 1.10
These are changes concerning geometry on a sphere and BCs:
 o The calculation of RA used to be wrong if delX != delY.
 o The details of the cell geometry is now consistent with the
   "classic" CM-5 code.
 o Advection near boundaries is now correct.
 o Lateral no-slip/free-slip now works.
 o Vertical no-slip/free-slip now works properly.
 o del^4 viscosity (with no-slip/free-slip) now works properly.


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


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 03:34:11 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint17
Changes since 1.8: +3 -3 lines
Diff to previous 1.8
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.8 - (view) (download) (annotate) - [select for diffs]
Sat Aug 22 17:51:08 1998 UTC (25 years, 8 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint14, checkpoint15, checkpoint16
Changes since 1.7: +4 -4 lines
Diff to previous 1.7
Isomorphism consistency changes


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 14:16:24 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.6: +2 -73 lines
Diff to previous 1.6
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)!


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Jun 25 20:43:23 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint10
Changes since 1.5: +11 -5 lines
Diff to previous 1.5
Changes to make compatible with DEC F77 compiler


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon Jun 8 21:43:01 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint6, checkpoint7, checkpoint8, checkpoint9
Branch point for: checkpoint7-4degree-ref
Changes since 1.4: +10 -1 lines
Diff to previous 1.4
Merge of GM Redi and spherical polar and inplicit diffusion
and CD. Everything for a global run is now included, however,
still some discrepancies with GM Redi.


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon May 25 18:01:32 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint3, checkpoint4, checkpoint5
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
Added edge copy of zA. Needed to support incomplere factorisation
preconditioner with in tiled configurations.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 02:10:20 1998 UTC (26 years ago) by cnh
Branch: MAIN
CVS Tags: checkpoint1, checkpoint2, kloop1, kloop2, redigm
Changes since 1.2: +1 -3 lines
Diff to previous 1.2
$Id to $Header changes


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 02:05:41 1998 UTC (26 years ago) by cnh
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Further $Id to $Header conversions


Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Wed Apr 22 19:15:30 1998 UTC (26 years ago) by cnh
Branch: cnh
CVS Tags: baseline, start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.25
Imported working release


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 19:15:30 1998 UTC (26 years ago) by cnh
Branch: MAIN
Branch point for: cnh
Initial revision


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