Changeset 14364
- Timestamp:
- 02/21/13 15:18:49 (12 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/EnumDefinitions/EnumDefinitions.h
r14359 r14364 490 490 SoftMigrationEnum, 491 491 SubelementMigrationEnum, 492 GroundedPortionEnum, 492 493 GLlevelsetEnum, 493 494 /*}}}*/ -
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
r14363 r14364 1129 1129 1130 1130 /*Check that not all nodes are grounded or floating*/ 1131 if(gl[0]>0 && gl[1]>0 && gl[2]>0){ 1131 if(gl[0]>0 && gl[1]>0 && gl[2]>0){ // All grounded 1132 1132 phi=1; 1133 1133 } 1134 else if(gl[0]<0 && gl[1]<0 && gl[2]<0){ 1135 _error_("Error. Three nodes of the element are floating, should not compute the fraction of grounded element");1134 else if(gl[0]<0 && gl[1]<0 && gl[2]<0){ //All floating 1135 phi=0; 1136 1136 } 1137 1137 else{ … … 1209 1209 1210 1210 if(phi>1 || phi<0) _error_("Error. Problem with portion of grounded element: value should be between 0 and 1"); 1211 //this->inputs->AddInput(new DoubleInput(GroundedPortionEnum,phi)); 1211 1212 1212 1213 return phi; -
issm/trunk-jpl/src/c/modules/EnumToStringx/EnumToStringx.cpp
r14359 r14364 471 471 case SoftMigrationEnum : return "SoftMigration"; 472 472 case SubelementMigrationEnum : return "SubelementMigration"; 473 case GroundedPortionEnum : return "GroundedPortion"; 473 474 case GLlevelsetEnum : return "GLlevelset"; 474 475 case StokesSolverEnum : return "StokesSolver"; -
issm/trunk-jpl/src/c/modules/StringToEnumx/StringToEnumx.cpp
r14359 r14364 481 481 else if (strcmp(name,"SoftMigration")==0) return SoftMigrationEnum; 482 482 else if (strcmp(name,"SubelementMigration")==0) return SubelementMigrationEnum; 483 else if (strcmp(name,"GroundedPortion")==0) return GroundedPortionEnum; 483 484 else if (strcmp(name,"GLlevelset")==0) return GLlevelsetEnum; 484 485 else if (strcmp(name,"StokesSolver")==0) return StokesSolverEnum; … … 506 507 else if (strcmp(name,"QmuInName")==0) return QmuInNameEnum; 507 508 else if (strcmp(name,"QmuOutName")==0) return QmuOutNameEnum; 508 else if (strcmp(name,"Regular")==0) return RegularEnum;509 509 else stage=5; 510 510 } 511 511 if(stage==5){ 512 if (strcmp(name,"Scaled")==0) return ScaledEnum; 512 if (strcmp(name,"Regular")==0) return RegularEnum; 513 else if (strcmp(name,"Scaled")==0) return ScaledEnum; 513 514 else if (strcmp(name,"Separate")==0) return SeparateEnum; 514 515 else if (strcmp(name,"Sset")==0) return SsetEnum; -
issm/trunk-jpl/src/c/solutions/transient_core.cpp
r13700 r14364 143 143 144 144 if(isdelta18o){ 145 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsMonthlytemperaturesEnum); 146 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsPrecipitationEnum); 145 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsMonthlytemperaturesEnum); 146 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,SurfaceforcingsPrecipitationEnum); 147 } 148 if(isgroundingline && groundingline_migration==SubelementMigrationEnum){ 149 InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,GLlevelsetEnum); 150 //InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,GroundedPortionEnum); 147 151 } 148 152 -
issm/trunk-jpl/src/m/enum/EnumDefinitions.py
r14359 r14364 4549 4549 return StringToEnum('SubelementMigration')[0] 4550 4550 4551 def GroundedPortionEnum(): 4552 """ 4553 GROUNDEDPORTIONENUM - Enum of GroundedPortion 4554 4555 Usage: 4556 macro=GroundedPortionEnum() 4557 """ 4558 4559 return StringToEnum('GroundedPortion')[0] 4560 4551 4561 def GLlevelsetEnum(): 4552 4562 """ … … 4997 5007 """ 4998 5008 4999 return 49 85000 5009 return 499 5010 -
issm/trunk-jpl/src/m/enum/MaximumNumberOfEnums.m
r14359 r14364 9 9 % macro=MaximumNumberOfEnums() 10 10 11 macro=49 8;11 macro=499;
Note:
See TracChangeset
for help on using the changeset viewer.