Changeset 17636
- Timestamp:
- 04/03/14 16:00:44 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r17633 r17636 666 666 parameters->FindParam(&migration_style,GroundinglineMigrationEnum); 667 667 668 if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum ){ //Floating if all nodes are floating668 if(migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum || migration_style==ContactEnum){ //Floating if all nodes are floating 669 669 if(this->inputs->Max(MaskGroundediceLevelsetEnum) <= 0.) shelf=true; 670 670 else shelf=false; 671 671 } 672 else if(migration_style==NoneEnum || migration_style==AgressiveMigrationEnum || migration_style==SoftMigrationEnum || migration_style==ContactEnum){ //Floating if all nodes are floating672 else if(migration_style==NoneEnum || migration_style==AgressiveMigrationEnum || migration_style==SoftMigrationEnum){ //Floating if all nodes are floating 673 673 if(this->inputs->Min(MaskGroundediceLevelsetEnum) > 0.) shelf=false; 674 674 else shelf=true; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r17634 r17636 1345 1345 if(!IsFloating()){ 1346 1346 1347 if(this->inputs->Max(MaskGroundediceLevelsetEnum)==0.){ 1348 1347 1349 this->StrainRateSSA(&epsilon[0],xyz_list,gauss,vx_input,vy_input); 1348 1350 this->ViscosityFS(&viscosity,2,xyz_list,gauss,vx_input,vy_input,NULL); … … 1370 1372 if (sigma_nn<water_pressure) grounded=true; 1371 1373 else grounded=false; 1374 } 1375 else{ 1376 grounded=true; 1377 } 1372 1378 } 1373 1379 else{ … … 1707 1713 xz_plane[1]=sin(theta); xz_plane[4]=0.; 1708 1714 xz_plane[2]=0.; xz_plane[5]=1.; 1709 if(groundedice> 0){1715 if(groundedice>=0){ 1710 1716 this->nodes[i]->DofInSSet(1); //vy 1711 1717 }
Note:
See TracChangeset
for help on using the changeset viewer.