[MITgcm-cvs] MITgcm/pkg/ecco CVS Commit

Gael Forget gforget at faulks.csail.mit.edu
Sun Aug 29 15:28:51 EDT 2010


Update of /u/gcmpack/MITgcm/pkg/ecco
In directory faulks.csail.mit.edu:/u/u2/gforget/MITgcm/pkg/ecco

Modified Files:
	ECCO_CPPOPTIONS.h cost_gencost_assignperiod.F 
	ecco_cost_init_fixed.F ecco_readparms.F 
Log Message:
Documenting ALLOW_GENCOST_CONTRIBUTION in ECCO_CPPOPTIONS.h 
(see extract below) and adding the ALLOW_GENCOST_FREEFORM sub-option.

C       >>> ALLOW_GENCOST_CONTRIBUTION: interactive way to add basic 2D cost function terms.
C       > In data.ecco, this requires the specification of data file (name, frequency,
C         etc.), bar file name for corresp. model average, standard error file name, etc.
C       > In addition, adding such cost terms requires editing ecco_cost.h to increase
C         NGENCOST, and editing cost_gencost_customize.F to implement the actual
C         model average (i.e. the bar file content).
#undef ALLOW_GENCOST_CONTRIBUTION
C       >>> free form version of GENCOST: allows one to use otherwise defined elements (e.g.
C         psbar and and topex data) while taking advantage of the cost function/namelist slots
C         that can be made available using ALLOW_GENCOST_CONTRIBUTION. To this end
C         ALLOW_GENCOST_CONTRIBUTION simply switches off tests that check whether all of the
C         gencost elements (e.g. gencost_barfile and gencost_datafile) are specified in data.ecco.
C       > While this option increases flexibility within the gencost framework, it implies more room
C         for error, so it should be used cautiously, and with good knowledge of the rest of pkg/ecco.
C       > It requires providing a specific cost function routine, and editing cost_gencost_all.F accordingly.
#undef ALLOW_GENCOST_FREEFORM





More information about the MITgcm-cvs mailing list