/[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.1 by dimitri, Sat Dec 11 19:55:08 2004 UTC revision 1.2 by dimitri, Wed Dec 15 16:45:03 2004 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:sqrt(Nx)  for i=2:(Nx/30)
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:sqrt(Ny)  for i=2:(Ny/30)
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
          480          15          32         192          68  
27           480          30          16          96         136           480          30          16          96         136
          510          15          34         192          64  
28           510          30          17          96         128           510          30          17          96         128
          512          16          32         180          68  
29           512          32          16          90         136           512          32          16          90         136
          544          16          34         180          64  
30           544          32          17          90         128           544          32          17          90         128
          576          18          32         160          68  
31           576          36          16          80         136           576          36          16          80         136
          612          18          34         160          64  
32           612          36          17          80         128           612          36          17          80         128
          640          20          32         144          68  
33           640          40          16          72         136           640          40          16          72         136
          680          20          34         144          64  
34           680          40          17          72         128           680          40          17          72         128
35           720          45          16          64         136           720          45          16          64         136
36           765          45          17          64         128           765          45          17          64         128
37           768          24          32         120          68           768          24          32         120          68
          768          48          16          60         136  
38           816          24          34         120          64           816          24          34         120          64
          816          48          17          60         128  
39           960          30          32          96          68           960          30          32          96          68
40          1020          30          34          96          64          1020          30          34          96          64
41          1024          32          32          90          68          1024          32          32          90          68
42            1088          32          34          90          64
43            1152          36          32          80          68
44            1224          36          34          80          64
45            1280          40          32          72          68
46            1360          40          34          72          64
47            1440          45          32          64          68
48            1530          45          34          64          64
49            1536          48          32          60          68
50            1632          48          34          60          64
51            1920          60          32          48          68
52            2040          60          34          48          64

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22