Ignore:
Timestamp:
06/13/09 20:52:46 (16 years ago)
Author:
Mathieu Morlighem
Message:

a specific solution can be requested in runmes and updatearchives as second argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/test/Verification/IceShelfIceFrontP3d_5/updatearchive.m

    r913 r996  
    55%      varargout=updatearchive(varargin);
    66%
    7 %   Example:
     7%   Examples:
    88%      updatearchive;
    99%      updatearchive({'ice'});
    10 %      updatearchive({'ice','cielo_serial'});
     10%      updatearchive({'ice','cielo_serial'},{'diagnostic'});
    1111%      md=updatearchive({'cielo_parallel'});
    1212%
     
    2020% Just commit the result if you want to.
    2121
     22%check arguments
     23if (nargin>2 | nargout>1)
     24        help updatearchive
     25        error('updatearchive error message: bad usage');
     26end
     27
    2228%packages and analysis_types to be tested
    23 if nargin==1,
     29if nargin==2,
     30        solutions=varargin{2};
     31else
     32        solutions={'diagnostic','thermalsteady','thermaltransient','prognostic','transient'};
     33end
     34if nargin,
    2435        packages=varargin{1};
    2536else
    2637        packages={'macayeal','ice','cielo_serial','cielo_parallel'};
    2738end
    28 solutions={'diagnostic','thermalsteady','thermaltransient','prognostic','transient'};
    2939
    3040%go through the solutions requested
Note: See TracChangeset for help on using the changeset viewer.