Changeset 6569 for issm/trunk


Ignore:
Timestamp:
11/12/10 14:46:39 (14 years ago)
Author:
jschierm
Message:

Added keep option for qmudir (part 2 of 2).

Location:
issm/trunk/src/m/model
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/process_solve_options.m

    r5996 r6569  
    4040outoptions.qmufile=getfieldvalue(options,'qmufile','qmu');% qmufile cannot be changed unless ????script.sh is also changed
    4141outoptions.overwrite=getfieldvalue(options,'overwrite','n');
     42outoptions.keep=getfieldvalue(options,'keep','n');
    4243outoptions.ivar=getfieldvalue(options,'ivar',1);
    4344outoptions.iresp=getfieldvalue(options,'iresp',1);
  • issm/trunk/src/m/model/solve.m

    r6323 r6569  
    5757        md=postqmu(md);
    5858        cd ..
    59         system(['rm -rf qmu' num2str(GetPId)]);
     59        if ~strncmpi(options.keep,'y',1)
     60                system(['rm -rf qmu' num2str(GetPId)]);
     61        end
    6062end
    6163
  • issm/trunk/src/m/model/solveparallel.m

    r6378 r6569  
    4444        %post processes qmu results if necessary
    4545        if md.qmu_analysis,
    46                 system(['rm -rf qmu' num2str(GetPId)]);
     46                if ~strncmpi(options.keep,'y',1)
     47                        system(['rm -rf qmu' num2str(GetPId)]);
     48                end
    4749        end
    4850else
Note: See TracChangeset for help on using the changeset viewer.