Ignore:
Timestamp:
07/24/12 10:36:19 (13 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 12703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solutions/diagnostic_core.cpp

    r11995 r12706  
    5959        if(ishutter){
    6060                       
    61                 _printf_(VerboseSolution(),"%s\n","   computing hutter velocities");
     61                if(VerboseSolution()) _pprintLine_("   computing hutter velocities");
    6262
    6363                //Take the last velocity into account so that the velocity on the MacAyeal domain is not zero
     
    7272        if (ismacayealpattyn ^ isstokes){ // ^ = xor
    7373               
    74                 _printf_(VerboseSolution(),"%s\n","   computing velocities");
     74                if(VerboseSolution()) _pprintLine_("   computing velocities");
    7575                femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum);
    7676                if(isnewton)
     
    8282        if (ismacayealpattyn && isstokes){
    8383
    84                 _printf_(VerboseSolution(),"%s\n","   computing coupling macayealpattyn and stokes velocities and pressure ");
     84                if(VerboseSolution()) _pprintLine_("   computing coupling macayealpattyn and stokes velocities and pressure ");
    8585                solver_stokescoupling_nonlinear(femmodel,conserve_loads);
    8686        }
     
    8888        if (dim==3 & (ishutter || ismacayealpattyn)){
    8989
    90                 _printf_(VerboseSolution(),"%s\n","   computing vertical velocities");
     90                if(VerboseSolution()) _pprintLine_("   computing vertical velocities");
    9191                femmodel->SetCurrentConfiguration(DiagnosticVertAnalysisEnum);
    9292                solver_linear(femmodel);
     
    9595
    9696        if(save_results){
    97                 _printf_(VerboseSolution(),"   saving results\n");
     97                if(VerboseSolution()) _pprintLine_("   saving results");
    9898                InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,VxEnum);
    9999                InputToResultx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,VyEnum);
     
    105105
    106106        /*Free ressources:*/
    107         xfree((void**)&requested_outputs);
     107        xDelete<int>(requested_outputs);
    108108}
Note: See TracChangeset for help on using the changeset viewer.