1 |
function s=gcmfaces(varargin); |
function s=gcmfaces(varargin); |
2 |
%object: create a gcmfaces object |
%object: create an empty gcmfaces object |
3 |
%input: cell array (optional) |
%optional input: cell array containing each face data that |
4 |
% |
% will be used to fill the gcmfaces object |
5 |
%note: - the current format is determined based on the global mygrid. |
%pre-requisite : the grid (global mygrid variable) must have been |
6 |
% - if no input is specified, create an empty gcmfaces object. |
% defined using grid_load or grid_load_native |
7 |
% - otherwise each record of the cell array must provide the data for one face. |
% providing the blue print for new gcmfaces objects |
8 |
% - this routine used to have several inputs of various types; |
%note: this routine used to have several inputs of various types; |
9 |
% now only the first input is used, and only if it is a cell array. |
% now only the first input is used, and only if it is a cell array. |
10 |
|
|
11 |
global mygrid; |
global mygrid; |