[MITgcm-devel] initialisation and mnc

Patrick Heimbach heimbach at MIT.EDU
Thu Oct 7 22:37:44 EDT 2004


Hi there,

indeed, probably one of the main reasons for having
a pkg_init_fixed.F and a pkg_init_varia.F
is to put all non-AD relevant (fixed) stuff in the
former and easily hide it from TAF.
Array initialisations are active and would be in 
pkg_init_varia.F
So I'd agree with both Jean-Michel's points.

At some distant point we may try out to also
include all fixed init. into the AD-related part.
TAF should, in principle figure out what is needed
and what's not. But since there's still a wide gap
between what ought to work in principle and what does,
that's not a useful exercise right now.
Some of this will be relevant for the bottom
topography control.

-Patrick

Quoting Jean-Michel Campin <jmc at ocean.mit.edu>:

> Hi Ed,
> 
> I have a little comment about the initialisation required for mnc:
> 1) about cd_code:
>  it should go (and call from) packages_init_fixed.F
>  and I would prefer not to have this piece of code in 
>  cd_code_ini_vars.F (called from packages_init_variables.F)
>  It's also an advantage for TAF that does not see most of the
>  init_fixed part (Patrick, do you agree ?).
> 2) about time_ave:
>  I would call the routine you added "timeave_init.F" with a name that
>  clearly reflect that it's mnc or I/O or fixed initialisation.
>  The reason is that with this name, someone who see this pkg 
>  would guess that the initialisation of the time-average arrays 
>  is done within timeave_init.F , which is not the case.
> 
> Does someone agree or disagree with those 2 points ?
> 
> I know that this ini_fixed / ini_var is a little subtil and hard
> to figure out first, but it makes sense in some way.
>   
> See you,
> 
> Jean-Michel
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
> 


--------------------------------------------------------
Patrick Heimbach   Massachusetts Institute of Technology
FON: +1/617/253-5259                  EAPS, Room 54-1518
FAX: +1/617/253-4464             77 Massachusetts Avenue
mailto:heimbach at mit.edu               Cambridge MA 02139
http://www.mit.edu/~heimbach/                        USA




More information about the MITgcm-devel mailing list