/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_exch/exch_Z_ll.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/gcmfaces_exch/exch_Z_ll.m

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


Revision 1.1 - (hide annotations) (download)
Fri Sep 14 03:39:51 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).
- gcmfaces_exch/exch_T_N_ll.m : extend assumtion on periodicity to global_ocean.90x40x15

1 gforget 1.1 function [FLD]=exch_Z_ll(fld);
2     %[FLD]=exch_Z_llc(fld);
3     %adds vorticity points (to north and east of center points) for
4     %lat-lon grid
5    
6     gcmfaces_global;
7    
8     FLD=exch_T_N(fld,1);
9    
10     FLD{1}=FLD{1}(2:end,2:end,:,:);
11    
12     if mygrid.domainPeriodicity(1);
13     FLD{1}(end,end,:,:)=FLD{1}(1,end,:,:);
14     elseif mygrid.domainPeriodicity(2);
15     FLD{1}(end,end,:,:)=FLD{1}(end,1,:,:);
16     end;

  ViewVC Help
Powered by ViewVC 1.1.22