Ignore:
Timestamp:
04/03/14 16:00:44 (11 years ago)
Author:
hongjuy
Message:

CHG: (1) add constraint on vy if levelset == 0 (2) GL migration only allowed for the first grounded element that touches the GL

File:
1 edited

Legend:

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

    r17633 r17636  
    666666        parameters->FindParam(&migration_style,GroundinglineMigrationEnum);
    667667
    668         if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum){ //Floating if all nodes are floating
     668        if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum || migration_style==ContactEnum){ //Floating if all nodes are floating
    669669                if(this->inputs->Max(MaskGroundediceLevelsetEnum) <= 0.) shelf=true;
    670670                else shelf=false;
    671671        }
    672         else if(migration_style==NoneEnum || migration_style==AgressiveMigrationEnum || migration_style==SoftMigrationEnum || migration_style==ContactEnum){ //Floating if all nodes are floating
     672        else if(migration_style==NoneEnum || migration_style==AgressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating
    673673                if(this->inputs->Min(MaskGroundediceLevelsetEnum) > 0.) shelf=false;
    674674                else shelf=true;
Note: See TracChangeset for help on using the changeset viewer.