Changeset 20345
- Timestamp:
- 03/24/16 14:45:13 (9 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/SealevelriseAnalysis.cpp
r20155 r20345 65 65 parameters->AddObject(iomodel->CopyConstantObject(SealevelriseRigidEnum)); 66 66 parameters->AddObject(iomodel->CopyConstantObject(SealevelriseElasticEnum)); 67 parameters->AddObject(iomodel->CopyConstantObject(SealevelriseEustaticEnum));68 67 69 68 iomodel->FetchData(&elastic,SealevelriseElasticEnum); -
issm/trunk-jpl/src/c/classes/FemModel.cpp
r20276 r20345 79 79 80 80 /*Save communicator in the parameters dataset: */ 81 this->parameters->AddObject(new IntParam(FemModelCommEnum,incomm)); 81 this->parameters->AddObject(new GenericParam<ISSM_MPI_Comm>(incomm,FemModelCommEnum)); 82 82 83 83 84 /*Free resources */ … … 104 105 105 106 /*Save communicator in the parameters dataset: */ 106 this->parameters->AddObject(new IntParam(FemModelCommEnum,incomm));107 this->parameters->AddObject(new GenericParam<ISSM_MPI_Comm>(incomm,FemModelCommEnum)); 107 108 108 109 } … … 2324 2325 ISSM_MPI_Reduce (&oceanarea_cpu,&oceanarea,1,ISSM_MPI_DOUBLE,ISSM_MPI_SUM,0,IssmComm::GetComm() ); 2325 2326 ISSM_MPI_Bcast(&oceanarea,1,ISSM_MPI_DOUBLE,0,IssmComm::GetComm()); 2326 2327 2327 2328 ISSM_MPI_Reduce (&eartharea_cpu,&eartharea,1,ISSM_MPI_DOUBLE,ISSM_MPI_SUM,0,IssmComm::GetComm() ); 2328 2329 ISSM_MPI_Bcast(&eartharea,1,ISSM_MPI_DOUBLE,0,IssmComm::GetComm()); … … 2602 2603 2603 2604 /*Save communicator in the parameters dataset: */ 2604 this->parameters->AddObject(new IntParam(FemModelCommEnum,incomm));2605 this->parameters->AddObject(new GenericParam<ISSM_MPI_Comm>(incomm,FemModelCommEnum)); 2605 2606 2606 2607 }
Note:
See TracChangeset
for help on using the changeset viewer.