Ignore:
Timestamp:
06/22/12 16:56:14 (13 years ago)
Author:
Mathieu Morlighem
Message:

Starting to replace _printf by _pprintString

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/FemModel.cpp

    r12511 r12515  
    5050        for(i=0;i<nummodels;i++){
    5151
    52                 _printf_(VerboseMProcessor(),"   Processing finite element model of analysis %s:\n",EnumToStringx(analysis_type_list[i]));
     52                if(VerboseMProcessor()) _pprintLine_("   Processing finite element model of analysis " << EnumToStringx(analysis_type_list[i]) << ":");
    5353                analysis_type=analysis_type_list[i];
    5454                this->SetCurrentConfiguration(analysis_type);
    5555       
    5656                if(i==0){
    57                         _printf_(VerboseMProcessor(),"      creating vertex degrees of freedom\n");
     57                        if(VerboseMProcessor()) _pprintLine_("      creating vertex degrees of freedom");
    5858                        VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices
    5959                }
    6060
    61                 _printf_(VerboseMProcessor(),"      resolving node constraints\n");
     61                if(VerboseMProcessor()) _pprintLine_("      resolving node constraints");
    6262                SpcNodesx(nodes,constraints,parameters,analysis_type);
    6363
    64                 _printf_(VerboseMProcessor(),"      creating nodal degrees of freedom\n");
     64                if(VerboseMProcessor()) _pprintLine_("      creating nodal degrees of freedom");
    6565                NodesDofx(nodes,parameters,analysis_type);
    6666       
    67                 _printf_(VerboseMProcessor(),"      configuring element and loads\n");
     67                if(VerboseMProcessor()) _pprintLine_("      configuring element and loads");
    6868                ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters);
    6969        }
     
    145145        if(this->parameters->Exist(PetscOptionsStringsEnum)){
    146146                PetscOptionsFromAnalysis(this->parameters,analysis_type);
    147                 _printf_(VerboseSolver(),"      petsc Options set for analysis type: %s\n",EnumToStringx(analysis_type));
     147                if(VerboseSolver()) _pprintLine_("      petsc Options set for analysis type: " << EnumToStringx(analysis_type));
    148148        }
    149149        #endif
Note: See TracChangeset for help on using the changeset viewer.