/[MITgcm]/MITgcm_contrib/enderton/Diagnostics/ZcordA_FizhiZ30.m
ViewVC logotype

Contents of /MITgcm_contrib/enderton/Diagnostics/ZcordA_FizhiZ30.m

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


Revision 1.1 - (show annotations) (download)
Mon Feb 14 22:15:39 2005 UTC (20 years, 5 months ago) by molod
Branch: MAIN
CVS Tags: HEAD
Add dimension files for 30 level resolution

1 nklev=30;
2 ZC=zeros(1,nklev);
3 ZF=zeros(1,nklev+1);
4 drC = [3500.*ones(1,28),1000.*ones(1,2)];
5 ZC(1)=100000.-(0.5*drC(1));
6 ZF(1)=100000.;
7 for klev=2:nklev;
8 ZC(klev)=ZC(klev-1)-(0.5*(drC(klev)+drC(klev-1)));
9 ZF(klev)=ZF(klev-1)-drC(klev-1);
10 end
11 ZF(nklev+1)=ZF(nklev)-drC(nklev);
12 drF = ZF(1:nklev)-ZF(2:nklev+1);
13 save('ZcordA_FizhiZ30.mat','ZC','ZF','drC','drF');

  ViewVC Help
Powered by ViewVC 1.1.22