54 |
i1=i1+nn*mm; |
i1=i1+nn*mm; |
55 |
v1{iFace}=reshape(v00(i0:i1,:),[nn mm n3 n4 n5]); |
v1{iFace}=reshape(v00(i0:i1,:),[nn mm n3 n4 n5]); |
56 |
end; |
end; |
57 |
|
elseif strcmp(mygrid.fileFormat,'native'); |
58 |
|
v1=convert2array(v0); |
59 |
end; |
end; |
60 |
|
|
61 |
v1=gcmfaces(v1); |
if ~strcmp(mygrid.fileFormat,'native'); v1=gcmfaces(v1); end; |
62 |
|
|
63 |
if ~isempty(mygrid.facesExpand); v1=convert2widefaces(v1); end; |
if ~isempty(mygrid.facesExpand); v1=convert2widefaces(v1); end; |
64 |
|
|
96 |
end; |
end; |
97 |
nn=mygrid.ioSize(1); mm=mygrid.ioSize(2); |
nn=mygrid.ioSize(1); mm=mygrid.ioSize(2); |
98 |
v1=reshape(v11,[nn mm n3 n4 n5]); |
v1=reshape(v11,[nn mm n3 n4 n5]); |
99 |
|
|
100 |
|
elseif strcmp(mygrid.fileFormat,'native'); |
101 |
|
v1=convert2array(v0); |
102 |
end; |
end; |
103 |
|
|
104 |
end; |
end; |