# This is a somewhat untypical namelist file for the ctrl package. It is
# meant to illustrate the difference between the old method of declaring
# control parameters (active when ctrlUseGen=.FALSE.) and the new method with
# the generic control variables (active when ctrlUseGen=.TRUE.). This
# experiment is special because it enables both old and new method at compile
# time --- something that is possible for most, but not all combinations of
# control variables --- and therefore it is possible so switch between the
# two methods by choosing the appropriate runtime parameters. Both methods
# do the same thing for xx_theta, xx_salt, and xx_diffkr.
#
# - CTRL_NML contains general parameter and the names of the control variable
# file names on disk for the old method. These names are really only the
# default values and for convenience they are associated with the
# corresponding CPP fags that need to be set. Setting the CPP flags is really
# the old (deprecated) way of defining which control parameters are used. The
# CPP flags of this experiment only define control parameters for the first
# timestep, so that any startdate/period are not used in this example. The
# behavior cannot be reproduced with the generic control variables method.
#
# - CTRL_NML_GENARR contains the names of the control variable files (and
# control variables) for the generic control variable method. These names are
# predefined, but they can be choose at runtime. See the documentations,
# chapter 10 for details. The control variables are actually turned on by
# specifying non-zero weights files! The surface forcing control variables
# are for mean surface values (applied at every time step) and so they are
# different from the variables xx_tauu, xx_tauv, xx_sfl, and xx_hfl.
#
# **********************
# ECCO control variables
# **********************
 &CTRL_NML
 &
#
# *********************
# names for ctrl_pack/unpack
# *********************
 &CTRL_PACKNAMES
 &
#
# *********************
# names for CTRL_GENARR, CTRL_GENTIM
# *********************
 &CTRL_NML_GENARR
 xx_genarr3d_file(1)       = 'xx_theta',
 xx_genarr3d_weight(1)     = 'ones_64b.bin',
 xx_genarr3d_bounds(1:5,1) = -2.,-1.9,39.,40.,5.,
#
 xx_genarr3d_file(2)       = 'xx_salt',
 xx_genarr3d_weight(2)     = 'ones_64b.bin',
# not clear why this to be commented out,
# but the reference results have no bounds applied
#xx_genarr3d_bounds(1:5,2) = 29.,29.5,40.5,41.,5.,
#
 xx_genarr3d_file(3)       = 'xx_ptr',
 xx_genarr3d_weight(3)     = 'ones_64b.bin',
#
 xx_genarr3d_file(4)       = 'xx_diffkr',
 xx_genarr3d_weight(4)     = 'ones_64b.bin',
 xx_genarr3d_bounds(1:5,4) = 1.E-6,2.E-6,4.E-4,5.E-4,0.,
#
 xx_gentim2d_file(1)       = 'xx_qnet',
 xx_gentim2d_weight(1)     = 'ones_64b.bin',
#
 xx_gentim2d_file(2)       = 'xx_empmr',
 xx_gentim2d_weight(2)     = 'ones_64b.bin',
#
 xx_gentim2d_file(3)       = 'xx_fu',
 xx_gentim2d_weight(3)     = 'ones_64b.bin',
#
 xx_gentim2d_file(4)       = 'xx_fv',
 xx_gentim2d_weight(4)     = 'ones_64b.bin',
#
 &
