Changeset 319


Ignore:
Timestamp:
05/08/09 11:56:32 (16 years ago)
Author:
seroussi
Message:

fixed paths sor slope compute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/ice/slopecompute.m

    r34 r319  
    88iceglobal
    99global gridset
     10global ISSM_DIR
    1011
    1112if ~strcmpi(field, 'bed') & ~strcmpi(field, 'surface')
    1213        error('slope compute error message: bed and surface computing only ');
    1314end
     15
     16%Use package to set solution namespace
     17usenamespace('ice');
    1418
    1519%determine if run is parallel
     
    5963end
    6064       
     65%re-add the paths
     66addpath(genpath_ice([ISSM_DIR '/src/m/solutions/macayeal']));
     67addpath(genpath_ice([ISSM_DIR '/src/m/solutions/ice']));
     68addpath(genpath_ice([ISSM_DIR '/src/m/solutions/cielo']));
     69addpath(genpath_ice([ISSM_DIR '/bin']));
Note: See TracChangeset for help on using the changeset viewer.