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

Log of /MITgcm/model/src/the_model_main.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.44 - (view) (download) (annotate) - [select for diffs]
Thu Jan 17 16:55:25 2002 UTC (22 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: 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, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, chkpt44d_post, release1_final_v1
Branch point for: release1_final
Changes since 1.43: +31 -7 lines
Diff to previous 1.43
* Updated adjoint/makefile
  o removed "_ecco" from names
  o added/modified forward mode options
  o added dependent vector option
  o tried SVD matrix computation (doesn't work;
    too much memory use by TAF)
* Updated flow directives related to FTL
* removed global_sum__g.F (not necessary)
* initialise forward mode anomalies in ctrl_unpack.F
  (so far "crude" initialization only).
* Added flag ALLOW_TANGENTLINEAR_RUN complememting
  ALLOW_ADJOINT_RUN
* driver routine the_model_main.F needs separate call
  to FTL routine G_THE_MAIN_LOOP with parameter list
  identical to THE_MAIN_LOOP (TAF doesn't remove arguments).
* added template file tangentlinear_model.F
  for forward mode.


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Fri Sep 28 16:49:54 2001 UTC (22 years, 7 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint43, checkpoint43a-release1mods, ecco-branch-mod1, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_b1, release1_beta1
Branch point for: ecco-branch, release1, release1-branch, release1_coupled
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
Changes for structuing protex document.


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 18:09:16 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint41, checkpoint42
Changes since 1.41: +356 -6 lines
Diff to previous 1.41
Bringing comments up to data and formatting for document extraction.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Sep 21 03:54:36 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
Changes since 1.40: +76 -22 lines
Diff to previous 1.40
Starting to bring comments up to date and format comments
for document extraction of "prototypes".


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Jul 30 20:39:18 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40, checkpoint40pre4, checkpoint40pre5, checkpoint40pre6, checkpoint40pre7, checkpoint40pre8, checkpoint40pre9
Changes since 1.39: +5 -3 lines
Diff to previous 1.39
Added a few re-initialisations for TAF.


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 14:26:57 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre2, checkpoint40pre3
Changes since 1.38: +16 -78 lines
Diff to previous 1.38
o Added grdchk package handling
o Added passive tracer handling


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Apr 10 22:35:26 2001 UTC (23 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint38, checkpoint39, checkpoint40pre1
Changes since 1.37: +12 -6 lines
Diff to previous 1.37
See doc/tag-index and doc/notes_c37_adj.txt
Preparation for stand-alone autodifferentiability.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Mar 25 22:33:53 2001 UTC (23 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: c37_adj
Changes since 1.36: +35 -4 lines
Diff to previous 1.36
Modifications and additions to enable automatic differentiation.
Detailed info's in doc/notes_c37_adj.txt


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 17:10:29 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint37, pre38-close, pre38tag1
Branch point for: pre38
Changes since 1.35: +2 -3 lines
Diff to previous 1.35
remove "include CG2D.h"


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 22:50:10 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint36
Changes since 1.34: +12 -9 lines
Diff to previous 1.34
move the IO at the end of a time step


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Feb 8 18:13:37 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.33: +10 -3 lines
Diff to previous 1.33
set initial Time & Iteration counter in the_model_main
 and pass them as argument to the_main_loop


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 14:38:48 2001 UTC (23 years, 2 months ago) by cnh
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32
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.32 - (view) (download) (annotate) - [select for diffs]
Wed Apr 5 19:04:14 2000 UTC (24 years ago) by adcroft
Branch: MAIN
CVS Tags: branch-atmos-merge-freeze, 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, checkpoint27, checkpoint28, checkpoint29, checkpoint30, checkpoint31, checkpoint32, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Changes since 1.31: +47 -165 lines
Diff to previous 1.31
Restructered the calling tree between THE_MODEL_MAIN()
and DYNAMICS(). Two calling levels have been inserted
to better split the "fixed" initialization phase from
the main time-loop for easier connectivity with the adjoint
infrastructure.

The calling tree now looks like:

   the_model_main:
      initialise_fixed()
      the_main_loop()

   the_main_loop:
      initialise_varia()
      do i=1,nIters
         forward_step()
      enddo
      forward_step()

   forward_step:
      load_external_fields()
      dynamics()
      do_the_model_io()
      solve_for_pressure()
      do_gterm_blocking_exchanges()
      write_checkpoint()


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Aug 30 18:29:27 1999 UTC (24 years, 8 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint25, checkpoint26
Changes since 1.30: +1 -19 lines
Diff to previous 1.30
Corrected interaction between OBCs and algorithm. The
positioning of set_obcs() within the time-stepping sequence
is crucial for stable open-boundaries. Forcing the boundaries
with time-dependent flow previously led to horrible results...


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 15:46:49 1999 UTC (24 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint24
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
Converted ALLOW_DIAGS to INCLUDE_DIAGNOSTICS_INTERFACE_CODE.
This allows the diagnostics I/O to happen for the very last
step of the integration. Spotted by C.E.


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 15:43:00 1999 UTC (24 years, 9 months ago) by adcroft
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28
Changed some erroneous declarations of myCurrentTime (sometimes myTime)
from REAL to _RL. This probably was caught before because most people
are using -r8 compile option in conjuction with REAL4_IS_SLOW which
converts everything to real*8.  Spotted by C.E.


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon May 24 15:42:23 1999 UTC (24 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint23
Changes since 1.27: +5 -1 lines
Diff to previous 1.27
Added CPP macro ALLOW_OBCS to include/exclude open boundary code.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Mar 22 16:44:17 1999 UTC (25 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint20, checkpoint21, checkpoint22
Changes since 1.26: +3 -9 lines
Diff to previous 1.26
Removed some debugging.


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


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Mar 12 16:44:04 1999 UTC (25 years, 1 month ago) by adcroft
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24
Some simple fixes that save a bit of memory.
 o AVER.h was included even if not be used.
 o gW, gWnm1 and cg3d_nm1 existed in DYNVARS.h and are only
   needed in the non-hydrostatic version (which this isn't).


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Dec 9 16:11:54 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19
Changes since 1.23: +2 -1 lines
Diff to previous 1.23
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.23 - (view) (download) (annotate) - [select for diffs]
Tue Dec 8 19:44:29 1998 UTC (25 years, 4 months ago) by adcroft
Branch: MAIN
Changes since 1.22: +14 -1 lines
Diff to previous 1.22
Implementation of Open Boundaries:
 o new source code: ini_obcs.F set_obcs.F apply_obcs1.F apply_obcs2.F
                    OBCS.h
 o modified code at a few points, key changes are in
    dynamcis.F the_model_main.F and ini_cg2d.F
 o documentation in OBCS.h and doc/OpenBound.*


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


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 03:11:38 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint16, checkpoint17
Changes since 1.20: +5 -3 lines
Diff to previous 1.20
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.20 - (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.19: +5 -2 lines
Diff to previous 1.19
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.19 - (view) (download) (annotate) - [select for diffs]
Wed Jul 15 22:11:33 1998 UTC (25 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: branch-point-rdot, checkpoint13, checkpoint14
Branch point for: branch-rdot
Changes since 1.18: +43 -2 lines
Diff to previous 1.18
Added loads of "timers" to the_model_main(). Should we provide
a mechanism to disable them?


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 19:57:22 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint10, checkpoint11, checkpoint12
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
Changed the #include at the top from CPP_EEOPTIONS.h to CPP_OPTIONS.h
This ought to be done through-out (?) but was necessary in at least
the_model_main.F, dynamics.F, ini_parms.F because of the new
macro ALLOW_DIAGNOSTICS.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 19:49:36 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.16: +7 -3 lines
Diff to previous 1.16
The time-averaging diagnostics has been modified to include
averages of "intermediate" quantities that exist only on a tile.
We currently only time-average K13, K23 and wVel but these
should be usable as a template for other diagnostics.
We have now split off these routines into a separate module
called diags/. Use of these routines is enabled by the
CPP flag ALLOW_DIAGNOSTICS set in model/inc/CPP_OPTIONS.h


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Jun 30 17:21:11 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Changes to make checkpointing work again!


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 15:26:26 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint8, checkpoint9
Changes since 1.14: +5 -2 lines
Diff to previous 1.14
Various changes including time-dependant forcing:
 o logic for controlling external forcing fields now allows
   for time-dependant forcing: load_external_fields.F
 o genmake.dec needed a special line for the above file.
 o theta* and salt* time-stepping algorithm were re-implemented.
The 4x4 global configuration has been "double-checked" against
CNH's version. However, we do not assume any responsibility for
the correctness of this code ...  8-)


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Jun 18 13:56:06 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.13: +12 -7 lines
Diff to previous 1.13
Added time-averaging (written by Elodie K.). Controlled by parameter
taveFreq. taveFreq=0 turns it off.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 21:07:02 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.12: +7 -1 lines
Diff to previous 1.12
Introduced time-dependant forcing, loaded and interpolated in
load_external_fields.F in a subroutine load_interpolate_forcing().
Control is by one logical and two real variables in PARAMS.h:
periodicExternalForcing, externForcingCycle and externForcingPeriod.
The code in load_external_fields.F is "customized" so needs to
be edited for non-global type runs. We'll tidy it up later.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Jun 16 15:26:57 1998 UTC (25 years, 10 months ago) by adcroft
Branch: MAIN
Changes since 1.11: +9 -4 lines
Diff to previous 1.11
Added a "final" call to dynamics() in the_model_main() so that
there really are nTimeSteps update of U/V/Theta/Salt.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Jun 15 05:13:56 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint7
Branch point for: checkpoint7-4degree-ref
Changes since 1.10: +3 -9 lines
Diff to previous 1.10
Fairly coplete 4 degree global intercomparison
setup.
 Includes changes to make convective adjustment and hydrostatic
pressure correct as well as IO for climatological datasets


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Jun 10 02:41:11 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.9: +58 -4 lines
Diff to previous 1.9
Added code structure comments and rearranged code to adhere
to clean structure.


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jun 1 20:36:13 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint5, checkpoint6
Changes since 1.8: +4 -1 lines
Diff to previous 1.8
Swapped the time-stepping algorithm around (just a little bit).
We now officially use the predictor-corrector terminology.
We make the prediction step at the end of the dynamics() section
and store the result in the gUNm1, gVNm1, gTNm1 arrays.
The "tricky" part is that at the beginning of the dynamics section,
where the "correction" is made, theses arrays must be initialised
at the beginning of any run. A new routine init_predictor() does this.
This is "all" in preparation for implicit diffusion. Let's hope
it's enough...


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon May 25 20:05:55 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint3, checkpoint4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
Added extra IO features
 - runtime on/off flags
 - more reporting of configuration


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu May 21 18:25:49 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint2
Changes since 1.6: +35 -12 lines
Diff to previous 1.6
Added support for binary IO of model fields for restart and/or
postprocessing


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 03:45:12 1998 UTC (26 years ago) by cnh
Branch: MAIN
CVS Tags: checkpoint1, kloop1, kloop2, redigm
Changes since 1.5: +2 -2 lines
Diff to previous 1.5
*** empty log message ***


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 03:32:40 1998 UTC (26 years ago) by cnh
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
*** empty log message ***


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 03:24:29 1998 UTC (26 years ago) by cnh
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
Minor formatting change


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Apr 24 02:10:21 1998 UTC (26 years ago) by cnh
Branch: MAIN
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:42 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 - (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