Changeset 20955
- Timestamp:
- 07/19/16 16:16:28 (9 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/FemModel.cpp
r20943 r20955 362 362 363 363 if(marshall_direction==MARSHALLING_BACKWARD){ 364 delete this->profiler;365 364 delete this->loads; 366 365 delete this->materials; … … 373 372 xDelete<int>(this->analysis_type_list); 374 373 375 this->profiler = new Profiler();376 374 this->loads = new Loads(); 377 375 this->materials = new Materials(); … … 391 389 MARSHALLING_DYNAMIC(analysis_type_list,int,nummodels); 392 390 393 this->profiler->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);394 391 this->loads->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction); 395 392 this->materials->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction); … … 402 399 403 400 if(marshall_direction==MARSHALLING_BACKWARD){ 404 / /reset hooks for elements, loads and nodes:401 /*reset hooks for elements, loads and nodes:*/ 405 402 this->elements->ResetHooks(); 406 403 this->loads->ResetHooks(); 407 404 this->materials->ResetHooks(); 408 405 409 / /do the post-processing of the datasets to get an FemModel that can actually run analyses:406 /*do the post-processing of the datasets to get an FemModel that can actually run analyses:*/ 410 407 for(i=0;i<nummodels;i++){ 411 408 analysis_type=this->analysis_type_list[i]; … … 435 432 /*First, recover the name of the restart file: */ 436 433 parameters->FindParam(&restartfilename,RestartFileNameEnum); 434 435 /*Print banner*/ 436 _printf0_(" \n"); 437 _printf0_("====================================================================\n"); 438 _printf0_(" RESTART DETECTED \n"); 439 _printf0_(" \n"); 440 _printf0_(" Restart file: "<<restartfilename<<" \n"); 441 _printf0_("====================================================================\n"); 442 _printf0_(" \n"); 437 443 438 444 /*Now, figure out whether this file actually exists!: */ -
issm/trunk-jpl/src/c/classes/Profiler.cpp
r20938 r20955 50 50 51 51 _printf_("Profiler:\n"); 52 _printf_(" time tags: \n"); 53 _error_("not implemented yet"); 52 for(int i=0;i<MAXIMUMSIZE;i++){ 53 _printf_(" Tag "<<i<<":\n"); 54 _printf_(" flops: "<<this->flops[i]<<"\n"); 55 _printf_(" memory: "<<this->memory[i]<<"\n"); 56 _printf_(" time: "<<this->time[i]<<"\n"); 57 } 54 58 55 59 } -
issm/trunk-jpl/src/c/cores/transient_core.cpp
r20459 r20955 62 62 if(numoutputs) femmodel->parameters->FindParam(&requested_outputs,&numoutputs,TransientRequestedOutputsEnum); 63 63 64 / /first, figure out if there was a check point, if so, do a reset of the FemModel* femmodel structure.64 /*first, figure out if there was a check point, if so, do a reset of the FemModel* femmodel structure. */ 65 65 if(recording_frequency)femmodel->Restart(); 66 66
Note:
See TracChangeset
for help on using the changeset viewer.