Changeset 18849


Ignore:
Timestamp:
11/25/14 10:29:14 (10 years ago)
Author:
hongjuy
Message:

CHG: for contact criterion, make sure that grounded elements may have min(levelset)==0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Elements/Element.cpp ΒΆ

    r18848 r18849  
    10901090        parameters->FindParam(&migration_style,GroundinglineMigrationEnum);
    10911091
    1092         if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum || migration_style==ContactEnum){ //Floating if all nodes are floating
     1092        if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){ //Floating if all nodes are floating
    10931093                if(this->inputs->Max(MaskGroundediceLevelsetEnum) <= 0.) shelf=true;
    10941094                else shelf=false;
     1095        }
     1096        else if(migration_style==ContactEnum){
     1097                if(this->inputs->Max(MaskGroundediceLevelsetEnum) > 0.) shelf=false;
     1098                else shelf=true;
    10951099        }
    10961100        else if(migration_style==NoneEnum || migration_style==AggressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating
Note: See TracChangeset for help on using the changeset viewer.