[MITgcm-cvs] MITgcm/model/src CVS Commit
Martin Losch
mlosch at mitgcm.org
Tue Feb 5 08:32:49 EST 2008
Update of /u/gcmpack/MITgcm/model/src
In directory forge:/tmp/cvs-serv11048/model/src
Modified Files:
set_defaults.F ini_spherical_polar_grid.F ini_parms.F
config_summary.F config_check.F
Added Files:
rotate_spherical_polar_grid.F
Log Message:
add parameter rotateGrid and Euler angles EulerPhi/Theta/Psi. For
usingSphericalGrid, this allows to define the rotated grid coordinates
via phiMin/thetaMin/dxSpacing/dySpacing, etc., but then re-compute the
geographical coordinates according to the inverse of the rotation defined
by the Euler angles, so that Coriolis parameter and online-interpolation by
exf works with the geographical coordinates on XC/YC/XG/YG.
The three Euler angles PhiEuler, ThetaEuler, and PsiEuler
define the rotation about the original z-axis (of an sphere
centered cartesian grid), the new x-axis, and the new z-axis,
respectively.
Naturally, this feature does not work with all packages, so the
some combinations are prohibited in config_summary (flt,
flt_zonal, ecco, profiles), because there the coordinates are
assumed to be regular spherical grid coordinates.
More information about the MITgcm-cvs
mailing list