/[MITgcm]/MITgcm_contrib/gmaze_pv/compute_JFzx.m
ViewVC logotype

Diff of /MITgcm_contrib/gmaze_pv/compute_JFzx.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by gmaze, Tue Jan 30 22:10:10 2007 UTC revision 1.2 by gmaze, Thu Feb 1 17:02:02 2007 UTC
# Line 1  Line 1 
1  %  %
2  % [] = compute_JFzx(SNAPSHOT)  % [JFzx] = compute_JFzx(SNAPSHOT)
3  %  %
4  % Here we compute the PV flux due to the zonal frictionnal force as  % Here we compute the PV flux due to the zonal frictionnal force as
5  % JFzx = ( TAUx * dSIGMATHETA/dy ) / RHO / EKL  % JFzx = ( TAUx * dSIGMATHETA/dy ) / RHO / EKL
# Line 24  Line 24 
24  % 06/04/12  % 06/04/12
25  % gmaze@mit.edu  % gmaze@mit.edu
26    
27  function compute_JFzx(snapshot)  function varargout = compute_JFzx(snapshot)
28    
29  global sla toshow  global sla toshow
30  global netcdf_suff netcdf_domain  global netcdf_suff netcdf_domain
# Line 171  close(ncTx); Line 171  close(ncTx);
171  close(ncRHO);  close(ncRHO);
172  close(ncH);  close(ncH);
173  close(nc);  close(nc);
174    
175    % Output:
176    output = struct('JFzx',JFz,'lat',STlat(2:ny-1),'lon',STlon(2:nx-1));
177    switch nargout
178     case 1
179      varargout(1) = {output};
180    end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22