Changeset 16473
- Timestamp:
- 10/21/13 08:01:56 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/bedslope_core.cpp
r16470 r16473 33 33 if(VerboseSolution()) _printf0_(" saving results\n"); 34 34 if(meshtype!=Mesh2DverticalEnum){ 35 const char* outputs [] = {"BedSlopeX","BedSlopeY"}; 36 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],2); 37 } 38 else{ 35 39 const char* outputs [] = {"BedSlopeX"}; 36 40 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],1); 37 }38 else{39 const char* outputs [] = {"BedSlopeX","BedSlopeY"};40 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],2);41 41 } 42 42 } -
issm/trunk-jpl/src/c/analyses/surfaceslope_core.cpp
r16470 r16473 31 31 if(VerboseSolution()) _printf0_("saving results:\n"); 32 32 if(meshtype!=Mesh2DverticalEnum){ 33 const char* outputs [] = {"SurfaceSlopeX","SurfaceSlopeY"}; 34 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],2); 35 36 } 37 else{ 33 38 const char* outputs [] = {"SurfaceSlopeX"}; 34 39 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],1); 35 }36 else{37 const char* outputs [] = {"SurfaceSlopeX","SurfaceSlopeY"};38 femmodel->RequestedOutputsx(&femmodel->results,(char**)&outputs[0],2);39 40 } 40 41 } -
issm/trunk-jpl/src/c/classes/FemModel.cpp
r16470 r16473 619 619 vector_result->Assemble(); 620 620 621 results->Add Object(new GenericExternalResult<Vector<IssmPDouble>*>(results->Size()+1,output_enum,vector_result,step,time));621 results->AddResult(new GenericExternalResult<Vector<IssmPDouble>*>(results->Size()+1,output_enum,vector_result,step,time)); 622 622 isvec = true; 623 623 break; … … 631 631 /*Add result to Results*/ 632 632 if(!isvec){ 633 results->Add Object(new GenericExternalResult<IssmPDouble>(results->Size()+1,output_string,reCast<IssmPDouble>(double_result),step,time));633 results->AddResult(new GenericExternalResult<IssmPDouble>(results->Size()+1,output_string,reCast<IssmPDouble>(double_result),step,time)); 634 634 } 635 635 }
Note:
See TracChangeset
for help on using the changeset viewer.