- Timestamp:
- 02/04/15 09:13:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateParameters.cpp
r18968 r19087 68 68 parameters->AddObject(iomodel->CopyConstantObject(InversionTypeEnum)); 69 69 parameters->AddObject(iomodel->CopyConstantObject(CalvingLawEnum)); 70 if(solution_type==SeaiceSolutionEnum){ 71 } 72 else{ 70 {/*This is specific to ice...*/ 73 71 parameters->AddObject(iomodel->CopyConstantObject(MeshElementtypeEnum)); 74 72 parameters->AddObject(iomodel->CopyConstantObject(SteadystateReltolEnum)); … … 160 158 /*Nothing to add to parameters*/ 161 159 break; 162 case SeaiceatmEnum:163 parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsRhoAirEnum));164 parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsAirCoefEnum));165 parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsAirLinDragCoefEnum));166 parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsAirQuadDragCoefEnum));167 break;168 160 default: 169 161 _error_("Surface mass balance model "<<EnumToStringx(smb_model)<<" not supported yet"); … … 181 173 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsDeepwaterElevationEnum)); 182 174 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsUpperwaterElevationEnum)); 183 break;184 case SeaiceoceanEnum:185 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsRhoOceanEnum));186 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsOceanCoefEnum));187 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsOceanLinDragCoefEnum));188 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsOceanQuadDragCoefEnum));189 parameters->AddObject(iomodel->CopyConstantObject(BasalforcingsOceanTurningAngleEnum));190 175 break; 191 176 default:
Note:
See TracChangeset
for help on using the changeset viewer.