/[MITgcm]/MITgcm_contrib/high_res_cube/eddy_flux/foo.m
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/eddy_flux/foo.m

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


Revision 1.2 - (hide annotations) (download)
Tue Aug 3 15:54:26 2004 UTC (20 years, 11 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
 o sanitizing and checking in parts of the eddy flux diagnostics

1 edhill 1.1 % convert phi(nt*tx,ty,nz) to te(cx,cy,6,nz)
2    
3     te=zeros(cx,cy,6,nz);
4     ite=0;jte=1;ntte=1;
5     for i=1:nt
6     il=(i-1)*tx+1;
7     ih=il+tx-1;
8     tepart=phi(il:ih,:,:);
9     ite=ite+1;
10     itel=(ite-1)*tx+1;
11     iteh=itel+tx-1;
12     jtel=(jte-1)*ty+1;
13     jteh=jtel+ty-1;
14     te(itel:iteh,jtel:jteh,ntte,:)=tepart;
15     if iteh == cx
16     ite = 0;
17     jte = jte+1;
18     if jteh == cy
19     jte=1;
20     ntte=ntte+1;
21     end
22     end
23     end

  ViewVC Help
Powered by ViewVC 1.1.22