Changeset 58


Ignore:
Timestamp:
04/27/09 10:31:26 (16 years ago)
Author:
Mathieu Morlighem
Message:

Added a check for parallel solutions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/ismodelselfconsistent.m

    r45 r58  
    141141if ~isscalar(md.artificial_diffusivity),
    142142        disp('artificial_diffusivity should be a scalar (1 or 0)');
     143        bool=0;return;
     144end
     145
     146%CLUSTER
     147if ~strcmpi(package,'cielo') & ~strcmpi(md.cluster,'none')
     148        disp(['parallel solution not supported by package ' package '. Use cluster=''none'' ']);
    143149        bool=0;return;
    144150end
Note: See TracChangeset for help on using the changeset viewer.