Parent Directory
|
Revision Log
|
Revision Graph
- remove the blueprint gcmfaces argument in convert2array.m. - move convert2array.m to gcmfaces_convert, so that it is seen even for both input format (gcmfaces and array).
1 | function [a]=convert2array(b,varargin); |
2 | |
3 | if isa(b,'gcmfaces'); c=b; else; c=varargin{1}; end; |
4 | |
5 | if strcmp(c.gridType,'llc'); |
6 | a=convert2array_llc(b,varargin{:}); |
7 | elseif strcmp(c.gridType,'cube'); |
8 | a=convert2array_cube(b,varargin{:}); |
9 | elseif strcmp(c.gridType,'llpc'); |
10 | a=convert2array_llpc(b,varargin{:}); |
11 | elseif strcmp(c.gridType,'ll'); |
12 | a=convert2array_ll(b,varargin{:}); |
13 | else; |
14 | error(['convert2array not implemented for ' c.gridType '!?']); |
15 | end; |
16 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |