[Mitgcm-support] a detail about GM_TAPER options

mitgcm-support at dev.mitgcm.org mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:26:17 EDT 2003


Hi,

There is an other thing about the GM_TAPER* CPP option:
Since it's intended to exclude part of the code 
so that TAF can work properly, it would be better to
have negative option: 
GM_EXCLUDE_CLIPPING 
GM_EXCLUDE_TAPERING
GM_EXCLUDE_ACO2
(by the way, I cannot find even 1 line of comment that tell 
what "ac02" stand for)
so that in a forward mode only, no additional option
need to be defined.
And when someone has in mind to use the adjoint, he has to exclude
the parts that he plans not to use.

right now (since checkpoint 47), the clipping part and ACO2 part 
are compiled in none of the test exp. 
and global_ocean.cubed32x32x30 cannot be used as it.

If we decide to keep the present options (positive form),
then they should  ALL be defined in the GMREDI_OPTIONS.h
of the forward code.

This is a detail, but it can make the code much easier to use for
a non expert in CPP stuff.

Jean-Michel



More information about the MITgcm-support mailing list