- Timestamp:
- 10/04/21 06:35:33 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/SealevelchangeAnalysis.cpp
r26296 r26468 49 49 iomodel->FetchDataToInput(inputs,elements,"md.solidearth.external.geoid",SolidearthExternalGeoidRateEnum); 50 50 51 52 51 /*Resolve Mmes using the modelid, if necessary:*/ 53 52 if (inputs->GetInputObjectEnum(SolidearthExternalDisplacementEastRateEnum)==DatasetInputEnum){ 54 53 int modelid; 55 54 56 55 /*retrieve model id: */ 57 56 iomodel->FetchData(&modelid,"md.solidearth.external.modelid"); 58 57 59 58 /*replace dataset of forcings with only one, the modelid'th:*/ 60 59 MmeToInputFromIdx(inputs,elements,modelid,SolidearthExternalDisplacementNorthRateEnum, P1Enum); … … 74 73 iomodel->ConstantToInput(inputs,elements,0.,DeltaIceThicknessEnum,P1Enum); 75 74 iomodel->ConstantToInput(inputs,elements,0.,DeltaBottomPressureEnum,P1Enum); 76 77 75 78 76 }/*}}}*/ … … 182 180 xDelete<IssmDouble>(partitionice); 183 181 } 184 182 185 183 iomodel->FetchData(&nparthydro,"md.solidearth.nparthydro"); 186 184 parameters->AddObject(new IntParam(SolidearthNpartHydroEnum,nparthydro)); … … 208 206 BarystaticContributions* barystaticcontributions=new BarystaticContributions(iomodel); 209 207 parameters->AddObject(new GenericParam<BarystaticContributions*>(barystaticcontributions,BarystaticContributionsEnum)); 210 208 211 209 /*Deal with external multi-model ensembles: {{{*/ 212 210 if(isexternal){ … … 425 423 xDelete<int>(displs); 426 424 427 428 429 425 /*Avoid singularity at 0: */ 430 426 G_gravi[0]=G_gravi[1]; … … 436 432 } 437 433 } 438 439 440 434 441 435 /*Reinterpolate viscoelastic green kernels onto a regular gridded time … … 484 478 } 485 479 } 486 480 487 481 } 488 482 else if(elastic){
Note:
See TracChangeset
for help on using the changeset viewer.