/[MITgcm]/MITgcm_contrib/quarter_degree_global/size.m
ViewVC logotype

Diff of /MITgcm_contrib/quarter_degree_global/size.m

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

revision 1.3 by dimitri, Thu Mar 10 01:45:01 2005 UTC revision 1.4 by dimitri, Sun Oct 15 17:05:05 2006 UTC
# Line 1  Line 1 
1  % determine possible combinations of tile sizes  % determine possible combinations of tile sizes
2  clear all, close all, Nx=2880; Ny=2176; px=[]; py=[];  clear all, close all, Nx=2880; Ny=2176; px=[]; py=[];
3  for i=2:(Nx/30)  for i=2:(Nx/15)
4    if mod(Nx,i)==0, px=[px i]; end    if mod(Nx,i)==0, px=[px i]; end
5  end  end
6  for i=2:(Ny/30)  for i=2:(Ny/15)
7    if mod(Ny,i)==0, py=[py i]; end    if mod(Ny,i)==0, py=[py i]; end
8  end  end
9  n=0;  n=0;
# Line 24  snx=snx(i); sny=sny(i); Line 24  snx=snx(i); sny=sny(i);
24    
25    
26       npx*npy         npx         npy         snx         sny       npx*npy         npx         npy         snx         sny
27             384          48           8          60         272
28             384          96           4          30         544
29             384         192           2          15        1088
30             408           3         136         960          16
31             408           6          68         480          32
32             408          12          34         240          64
33             408          24          17         120         128
34           480          30          16          96         136           480          30          16          96         136
35           510          30          17          96         128           510          30          17          96         128
36           512          32          16          90         136           512          32          16          90         136

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22