Changeset 20346
- Timestamp:
- 03/24/16 14:45:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/main/issm_slr.cpp
r20235 r20346 95 95 96 96 /*Now that the models are initialized, keep communicator information in the parameters datasets of each model: */ 97 femmodel->parameters->AddObject(new IntParam(WorldCommEnum,worldcomm));97 femmodel->parameters->AddObject(new GenericParam<ISSM_MPI_Comm>(worldcomm,WorldCommEnum)); 98 98 femmodel->parameters->AddObject(new IntParam(NumModelsEnum,nummodels)); 99 99 femmodel->parameters->AddObject(new IntParam(ModelIdEnum,modelid)); 100 100 femmodel->parameters->AddObject(new IntParam(EarthIdEnum,earthid)); 101 if(modelid==earthid) femmodel->parameters->AddObject(new IntVecParam(IcecapToEarthCommEnum,(int*)fromicecomms,nummodels-1));102 else femmodel->parameters->AddObject(new IntParam(IcecapToEarthCommEnum,toearthcomm));101 if(modelid==earthid) femmodel->parameters->AddObject(new GenericParam<ISSM_MPI_Comm*>(fromicecomms,IcecapToEarthCommEnum)); 102 else femmodel->parameters->AddObject(new GenericParam<ISSM_MPI_Comm>(toearthcomm,IcecapToEarthCommEnum)); 103 103 104 104 /*Solve: */
Note:
See TracChangeset
for help on using the changeset viewer.