[MITgcm-cvs] MITgcm/model/inc CVS Commit

Martin Losch mlosch at mitgcm.org
Tue Feb 5 08:32:18 EST 2008


Update of /u/gcmpack/MITgcm/model/inc
In directory forge:/tmp/cvs-serv11008/model/inc

Modified Files:
	PARAMS.h 
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