Changeset 5619


Ignore:
Timestamp:
08/27/10 15:34:03 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added check for Balancedthickness

File:
1 edited

Legend:

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

    r5613 r5619  
    320320                        error(['model not consistent: model ' md.name ' should have all the nodes on boundary constrained in field spcthickness']);                     
    321321                end
     322        end
     323
     324        %Triangle with zero velocity
     325        if any(sum(abs(md.vx(md.elements)),2)==0 & sum(abs(md.vy(md.elements)),2)==0)
     326                error('model not consistent: at least one triangle has all its vertices with a zero velocity');
    322327        end
    323328end
Note: See TracChangeset for help on using the changeset viewer.