[MITgcm-support] ini_curvilinear_grid.F

Dimitris Menemenlis menemenlis at sbcglobal.net
Tue Jan 9 16:52:10 EST 2007


JM

> a) Chris was using a customized version of ini_curvilinear_grid.F
> for a sub-domain (a piece of 1 face).
> May be useful to check with him.

Chris did exactly what I did, which is to comment out "#undef OLD_GRID_IO" and 
add "#define OLD_GRID_IO" in the CPP_OPTIONS.h file

> b) for all the CS-grid experiments we have, we need to have it
> undef.

That's OK.  It would be off by default anyways, since it is not defined in 
CPP_OPTIONS.h

> c) still few quantities (e.g.: corner quantities) that are not 
> in Nx*Ny files and need to know what to do for those. It certainly
> depend on which kind of grid you have, but then it might
> not be a bad idea to keep it locally in your /code dir.
> Were you thinking of moving OLD_GRID_IO to some header file (e.g.:
> CPP_OPTIONS.h) ?

Yes.  Just move it CPP_OPTIONS.h and leave it off by default.  OK?

D.



More information about the MITgcm-support mailing list