Changeset 25293
- Timestamp:
- 07/20/20 20:55:46 (5 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r25292 r25293 5631 5631 } 5632 5632 this->inputs2->SetDoubleInput(AreaEnum,this->lid,area); 5633 this->AddInput2(SealevelAreaEnum,&area,P0Enum); 5633 5634 5634 5635 /*Free allocations:*/ -
issm/trunk-jpl/src/c/classes/Inputs2/Inputs2.cpp
r25024 r25293 542 542 /*Create it if necessary*/ 543 543 if(this->inputs[id]){ 544 if(this->inputs[id]->ObjectEnum()!=DoubleInput2Enum) _error_(EnumToStringx(this->inputs[id]->ObjectEnum())<<" cannot return a int");544 if(this->inputs[id]->ObjectEnum()!=DoubleInput2Enum) _error_(EnumToStringx(this->inputs[id]->ObjectEnum())<<" cannot return a double!"); 545 545 } 546 546 else{ -
issm/trunk-jpl/src/c/shared/Enum/Enum.vim
r25252 r25293 820 820 syn keyword cConstant SurfaceAbsVelMisfitEnum 821 821 syn keyword cConstant AreaEnum 822 syn keyword cConstant SealevelAreaEnum 822 823 syn keyword cConstant SurfaceAreaEnum 823 824 syn keyword cConstant SurfaceAverageVelMisfitEnum -
issm/trunk-jpl/src/c/shared/Enum/EnumDefinitions.h
r25252 r25293 818 818 SurfaceAbsVelMisfitEnum, 819 819 AreaEnum, 820 SealevelAreaEnum, 820 821 SurfaceAreaEnum, 821 822 SurfaceAverageVelMisfitEnum, -
issm/trunk-jpl/src/c/shared/Enum/EnumToStringx.cpp
r25252 r25293 822 822 case SurfaceAbsVelMisfitEnum : return "SurfaceAbsVelMisfit"; 823 823 case AreaEnum : return "Area"; 824 case SealevelAreaEnum : return "SealevelArea"; 824 825 case SurfaceAreaEnum : return "SurfaceArea"; 825 826 case SurfaceAverageVelMisfitEnum : return "SurfaceAverageVelMisfit"; -
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r25252 r25293 840 840 else if (strcmp(name,"SurfaceAbsVelMisfit")==0) return SurfaceAbsVelMisfitEnum; 841 841 else if (strcmp(name,"Area")==0) return AreaEnum; 842 else if (strcmp(name,"SealevelArea")==0) return SealevelAreaEnum; 842 843 else if (strcmp(name,"SurfaceArea")==0) return SurfaceAreaEnum; 843 844 else if (strcmp(name,"SurfaceAverageVelMisfit")==0) return SurfaceAverageVelMisfitEnum; … … 874 875 else if (strcmp(name,"VyObs")==0) return VyObsEnum; 875 876 else if (strcmp(name,"Vz")==0) return VzEnum; 876 else if (strcmp(name,"VzFS")==0) return VzFSEnum;877 877 else stage=8; 878 878 } 879 879 if(stage==8){ 880 if (strcmp(name,"VzHO")==0) return VzHOEnum; 880 if (strcmp(name,"VzFS")==0) return VzFSEnum; 881 else if (strcmp(name,"VzHO")==0) return VzHOEnum; 881 882 else if (strcmp(name,"VzMesh")==0) return VzMeshEnum; 882 883 else if (strcmp(name,"VzSSA")==0) return VzSSAEnum; … … 997 998 else if (strcmp(name,"AmrBamg")==0) return AmrBamgEnum; 998 999 else if (strcmp(name,"AmrNeopz")==0) return AmrNeopzEnum; 999 else if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum;1000 1000 else stage=9; 1001 1001 } 1002 1002 if(stage==9){ 1003 if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 1003 if (strcmp(name,"AndroidFrictionCoefficient")==0) return AndroidFrictionCoefficientEnum; 1004 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 1004 1005 else if (strcmp(name,"AutodiffJacobian")==0) return AutodiffJacobianEnum; 1005 1006 else if (strcmp(name,"Balancethickness2Analysis")==0) return Balancethickness2AnalysisEnum; … … 1120 1121 else if (strcmp(name,"Gsl")==0) return GslEnum; 1121 1122 else if (strcmp(name,"HOApproximation")==0) return HOApproximationEnum; 1122 else if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum;1123 1123 else stage=10; 1124 1124 } 1125 1125 if(stage==10){ 1126 if (strcmp(name,"Hook")==0) return HookEnum; 1126 if (strcmp(name,"HOFSApproximation")==0) return HOFSApproximationEnum; 1127 else if (strcmp(name,"Hook")==0) return HookEnum; 1127 1128 else if (strcmp(name,"HydrologyDCEfficientAnalysis")==0) return HydrologyDCEfficientAnalysisEnum; 1128 1129 else if (strcmp(name,"HydrologyDCInefficientAnalysis")==0) return HydrologyDCInefficientAnalysisEnum; … … 1243 1244 else if (strcmp(name,"P0DG")==0) return P0DGEnum; 1244 1245 else if (strcmp(name,"P1DG")==0) return P1DGEnum; 1245 else if (strcmp(name,"P1P1")==0) return P1P1Enum;1246 1246 else stage=11; 1247 1247 } 1248 1248 if(stage==11){ 1249 if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; 1249 if (strcmp(name,"P1P1")==0) return P1P1Enum; 1250 else if (strcmp(name,"P1P1GLS")==0) return P1P1GLSEnum; 1250 1251 else if (strcmp(name,"P1bubble")==0) return P1bubbleEnum; 1251 1252 else if (strcmp(name,"P1bubblecondensed")==0) return P1bubblecondensedEnum; … … 1366 1367 else if (strcmp(name,"BilinearInterp")==0) return BilinearInterpEnum; 1367 1368 else if (strcmp(name,"CalvingdevCoeff")==0) return CalvingdevCoeffEnum; 1368 else if (strcmp(name,"DeviatoricStress")==0) return DeviatoricStressEnum;1369 1369 else stage=12; 1370 1370 } 1371 1371 if(stage==12){ 1372 if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum; 1372 if (strcmp(name,"DeviatoricStress")==0) return DeviatoricStressEnum; 1373 else if (strcmp(name,"EtaAbsGradient")==0) return EtaAbsGradientEnum; 1373 1374 else if (strcmp(name,"MeshZ")==0) return MeshZEnum; 1374 1375 else if (strcmp(name,"NearestInterp")==0) return NearestInterpEnum; -
issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp
r24477 r25293 49 49 file_line= what_line; 50 50 /*When error messages are not shown properly, uncomment the following line*/ 51 //this->Report();51 this->Report(); 52 52 53 53 }/*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.