/[MITgcm]/MITgcm_contrib/gael/matlab_class/@gcmfaces/exch_Z.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/@gcmfaces/exch_Z.m

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


Revision 1.1 - (hide annotations) (download)
Fri Sep 14 03:40:04 2012 UTC (12 years, 10 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65x, checkpoint65r, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, HEAD
- added vorticity point exchanges : @gcmfaces/exch_Z.m, gcmfaces_exch/exch_Z_ll.m,
  gcmfaces_exch/exch_Z_cube.m, gcmfaces_exch/exch_Z_llc.m (largely contributed by M.Buckley).

1 gforget 1.1 function [FLD]=exch_Z(fld);
2     %[FLD]=exch_Z(fld);
3     %adds vorticity points (to north and east of center points)
4    
5     if strcmp(fld.gridType,'llc');
6     FLD=exch_Z_llc(fld);
7     elseif strcmp(fld.gridType,'cube');
8     FLD=exch_Z_cube(fld);
9     elseif strcmp(fld.gridType,'ll');
10     FLD=exch_Z_ll(fld);
11     else;
12     error(['exch_Z not implemented for ' fld.gridType '!?']);
13     end;
14    

  ViewVC Help
Powered by ViewVC 1.1.22