Changeset 21890 for issm/trunk-jpl/src
- Timestamp:
- 07/27/17 17:04:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/MasstransportAnalysis.cpp
r21882 r21890 520 520 521 521 if(migration_style==SubelementMigrationEnum){ 522 if (phi<0.00000001) mb=gmb; 523 else mb=(1-phi)*fmb+phi*gmb; // phi is the fraction of grounded ice so (1-phi) is floating 522 if (phi>0.999999999) mb=gmb; 523 else{ 524 mb=(1-phi)*fmb+phi*gmb; // phi is the fraction of grounded ice so (1-phi) is floating 525 printf("mg %g \n",mb); 526 printf("phi %g \n",phi); 527 printf("fmb%g \n",fmb); 528 printf("gmb%g \n",gmb); 529 printf("\n"); 530 } 524 531 } 525 532 else if(migration_style==SubelementMigration2Enum){
Note:
See TracChangeset
for help on using the changeset viewer.