Changeset 7622


Ignore:
Timestamp:
03/04/11 11:34:46 (14 years ago)
Author:
seroussi
Message:

added some checks for grounding line computation

File:
1 edited

Legend:

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

    r7324 r7622  
    328328end
    329329%}}}
     330%GROUNDINGLINEMIGRATION2D{{{1
     331if md.analysis_type==GroundingLineMigration2DSolutionEnum,
     332        if md.dim==3,
     333                error(['model not consistent: for a ' md.analysis_type ' computation, the grounding line module is only implemented in 2d !'])
     334        end
     335        if strcmpi(md.cluster.name,'none'),
     336                error(['model not consistent: ' md.analysis_type ' is only implemented in parallel mode !'])
     337        end
     338
     339end
     340%}}}
    330341%BALANCEDTHICKNESS{{{1
    331342if md.analysis_type==BalancedthicknessSolutionEnum
     
    446457
    447458if strcmpi(md.analysis_type,'qmu'),
    448         if ~strcmpi(md.cluster,'none'),
     459        if ~strcmpi(md.cluster.name,'none'),
    449460                if md.waitonlock==0,
    450461                        error(['model is not correctly configured: waitonlock should be activated when running qmu in parallel mode!']);
Note: See TracChangeset for help on using the changeset viewer.