next up previous contents
Next: 10.1.3 Modularity Up: 10.1 Objective Previous: 10.1.1 Speed

   
10.1.2 Flexibility

To be a useful research tool, MOM needs to be easily configurable in many different ways. Also of importance is access to a large number of parameterizations for intercomparisons within the framework of one model. Using preprocessor ``ifdefs'' gives this flexibility. However, they must be used wisely. Indiscriminant use of preprocessor ``ifdefs'' can lead to a tangled mess of limited usefullness. With time, more and more constructs within MOM will be replaced by their Fortran 90 counterparts which should allow for even greater flexibility.



RC Pacanowski and SM Griffies, GFDL, Jan 2000