Ignore:
Timestamp:
09/07/11 16:51:21 (14 years ago)
Author:
seroussi
Message:

created transient class

File:
1 edited

Legend:

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

    r9661 r9678  
    303303                message(['model not consistent: model ' md.miscellaneous.name ' cfl_coefficient field should between  0 and 1']);
    304304        end
    305         if ~ismember(md.isdiagnostic,[0 1]),
    306                 message('model not consistent: isdiagnostic should be a scalar (1 or 0)');
    307         end
    308         if ~ismember(md.isprognostic,[0 1]),
    309                 message('model not consistent: isprognostic should be a scalar (1 or 0)');
    310         end
    311         if ~ismember(md.isthermal,[0 1]),
    312                 message('model not consistent: isthermal should be a scalar (1 or 0)');
     305        if ~ismember(md.transient.isdiagnostic,[0 1]),
     306                message('model not consistent: transient.isdiagnostic should be a scalar (1 or 0)');
     307        end
     308        if ~ismember(md.transient.isprognostic,[0 1]),
     309                message('model not consistent: transient.isprognostic should be a scalar (1 or 0)');
     310        end
     311        if ~ismember(md.transient.isthermal,[0 1]),
     312                message('model not consistent: transient.isthermal should be a scalar (1 or 0)');
     313        end
     314        if ~ismember(md.transient.isgroundingline,[0 1]),
     315                message('model not consistent: transient.isgroundingline should be a scalar (1 or 0)');
    313316        end
    314317end
Note: See TracChangeset for help on using the changeset viewer.