[MITgcm-devel] new Header file ?

Jean-Michel Campin jmc at ocean.mit.edu
Wed Oct 17 23:11:11 EDT 2007


Hi,

I am working on a "clever pickup" implementation 
which reads the pickup*.meta and decides what to do
if a field is missing. Allow also to limit the size
of the pickup files to just what is needed.

I am thinking of making a new header file
(RESTART.h ? PICKUP.h ?) with variables/parameters
which are  related to restart/pickup procedure
and are set by the model (not read from parameter
file "data").
e.g.: nCheckLev, checkPtSuff, maxNoChkptLev <- presently 
   in PARAMS.h, to handle the ckptA / ckptB
and also: tempStartAB, saltStartAB (presently in GAD.h)
  for a start / restart of the Adams-Bashforth
(plan to add more of thoses in the near future).
Some of those variables/parameters can change during the 
simulation (e.g., nCheckLev) and I think it would be a good idea 
to isolate those ones in a different header file and to leave 
PARAMS.h with only true parameters that are set and do not change 
once the ini-fixed is done.

The alternative (requires less effort) is to put everything in PARAMS.h

Comments ? Suggestions ? (and for the new header file name ?)

Thanks,
Jean-Michel



More information about the MITgcm-devel mailing list