[MITgcm-devel] naming rule

Jean-Michel Campin jmc at ocean.mit.edu
Mon Jan 3 14:03:06 EST 2005


Hi,

> and to have all the others pkgs build on the same rule:
> ${pkg}_init_diagnostics.F and ${pkg}_fill_diagnostics.F (if needed)

>From what I heard, a common naming rule seems to be good.
But I would instead vote for:
 ${pkg}_diagnostics_init.F and ${pkg}_diagnostics_fill.F
since it's simpler with ls to get the list of all S/R
that do diagnostics initialisation (rather than changing the 
order of init & diagnostics depending on where you are 
looking for, in diagnostics pkg or in an other place) 

And in a more general way, S/R in one package (pkgA)
that only contains code that is connected to a 2nd package (pkgB)
could be named: pkgA_pkgB_something.F (and not pkgA_something_pkgB.F)
Is is OK like this ?

Jean-Michel



More information about the MITgcm-devel mailing list