[Mitgcm-support] #ifdef's versus useRUNTIMEOPTION - please read...

mitgcm-support at dev.mitgcm.org mitgcm-support at dev.mitgcm.org
Wed Jul 9 15:28:58 EDT 2003


I know some people are not very fond of #ifdef's.
However, keeping all options runtime options in the code
also means, keeping all options runtime for the adjoint,
and consequenlty more dependencies and more redundant
common blocks for all possible cases.

Therefore, I think we should think about adding more #ifdef's
for those cases which you won't easily change at runtime anyways.
In particular, this affects
- buoyancyrelation
- equationOfState

-Patrick

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
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/                       U.S.A.




More information about the MITgcm-support mailing list