Changeset 12520


Ignore:
Timestamp:
06/22/12 17:29:55 (13 years ago)
Author:
Mathieu Morlighem
Message:

cosmetics

Location:
issm/trunk-jpl/src
Files:
58 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/DakotaResponsesx/DakotaResponsesx.cpp

    r12511 r12520  
    111111        if(my_rank==0){
    112112                _printString_("   responses: " << d_numresponses << ": ");
    113                 for(i=0;i<d_numresponses-1;i++)_printString_("" << d_responses[i] << "|");
    114                 _printString_("" << d_responses[d_numresponses-1]);
     113                for(i=0;i<d_numresponses-1;i++)_printString_(d_responses[i] << "|");
     114                _printString_(d_responses[d_numresponses-1]);
    115115                _printLine_("");
    116116        }
  • issm/trunk-jpl/src/c/modules/Dakotax/SpawnCoreParallel.cpp

    r12515 r12520  
    6767
    6868        /*Determine solution sequence: */
    69         if(VerboseQmu()) _pprintLine_("" << "Starting " << EnumToStringx(solution_type) << " core:");
     69        if(VerboseQmu()) _pprintLine_("Starting " << EnumToStringx(solution_type) << " core:");
    7070        CorePointerFromSolutionEnum(&solutioncore,femmodel->parameters,solution_type);
    7171        #ifdef _HAVE_CONTROL_
  • issm/trunk-jpl/src/c/modules/HoleFillerx/HoleFillerx.cpp

    r12511 r12520  
    277277                       
    278278                        #ifdef _DEBUG2_
    279                                 //_printLine_("" << temp << " " << elev << " " << range << " ");
     279                                //_printLine_(temp << " " << elev << " " << range << " ");
    280280                        #endif
    281281
  • issm/trunk-jpl/src/c/modules/KMLFileReadx/KMLFileReadx.cpp

    r12519 r12520  
    4343                }
    4444
    45 //              _pprintLine_("" << kstr);
     45//              _pprintLine_(kstr);
    4646                xDelete<char>(kstr);
    4747        }
  • issm/trunk-jpl/src/c/modules/UpdateConstraintsx/UpdateConstraintsx.cpp

    r12515 r12520  
    2222
    2323        /*start module: */
    24         if(VerboseModule()) _pprintLine_("" << "   Updating constraints for time: " << time);
     24        if(VerboseModule()) _pprintLine_("   Updating constraints for time: " << time);
    2525       
    2626        /*First, update dof constraints in nodes, using constraints: */
  • issm/trunk-jpl/src/c/objects/Bamg/Mesh.cpp

    r12510 r12520  
    23742374                                        }
    23752375                                }
    2376                                 //_printLine_("" << element_renu[GetId(ta.t)] << " -> " << GetId((*ta.t)[0])+1 << " " << GetId((*ta.t)[1])+1 << " " << GetId((*ta.t)[2])+1 << ", edge [" << i1 << "->" << j1 << " " << i2 << "->" << j2 << "]");
     2376                                //_printLine_(element_renu[GetId(ta.t)] << " -> " << GetId((*ta.t)[0])+1 << " " << GetId((*ta.t)[1])+1 << " " << GetId((*ta.t)[2])+1 << ", edge [" << i1 << "->" << j1 << " " << i2 << "->" << j2 << "]");
    23772377                                ta = Next(ta).Adj();
    23782378                                if (count++>50) _error2_("Maximum number of iteration exceeded");
     
    43824382                                                                                ||   (bb=Area2( t[0].r , A.r    , t[2].r )) < 0.0 
    43834383                                                                                ||   (cc=Area2( t[0].r , t[1].r , A.r    )) < 0.0)){
    4384                                                         _printLine_("" << ke + nbvold << " not in triangle " << i << " In= " << !!t.link << " " << aa << " " << bb << " " << cc << " " << dd);
     4384                                                        _printLine_(ke + nbvold << " not in triangle " << i << " In= " << !!t.link << " " << aa << " " << bb << " " << cc << " " << dd);
    43854385                                                        _error2_("Number of triangles with P2 interpolation Problem");
    43864386                                                }
     
    43904390                                                                                ||   (bb=Area2( tt[0].r , A.r     , tt[2].r )) < 0
    43914391                                                                                ||   (cc=Area2( tt[0].r , tt[1].r , A.r     )) < 0)){
    4392                                                         _printLine_("" << ke + nbvold << " not in triangle " << ii << " In= " << !!tt.link << " " << aa << " " << bb << " " << cc << " " << dd);
     4392                                                        _printLine_(ke + nbvold << " not in triangle " << ii << " In= " << !!tt.link << " " << aa << " " << bb << " " << cc << " " << dd);
    43934393                                                        _error2_("Number of triangles with P2 interpolation Problem");
    43944394                                                }
  • issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.cpp

    r12511 r12520  
    6868        _printLine_("   steps|times|values");
    6969        for(i=0;i<nsteps;i++){
    70                 _printLine_("" << i << "-" << times[i] << ":" << values[i]);
     70                _printLine_(i << "-" << times[i] << ":" << values[i]);
    7171        }
    7272        return;
  • issm/trunk-jpl/src/c/objects/ExternalResults/DoubleVecExternalResult.cpp

    r12511 r12520  
    7272        _printLine_("   vector size: " << this->M);
    7373        for(i=0;i<this->M;i++){
    74                 _printLine_("" << i << " " << this->values[i]);
     74                _printLine_(i << " " << this->values[i]);
    7575        }
    7676        _printLine_("   step: " << this->step);
  • issm/trunk-jpl/src/c/objects/Hook.cpp

    r12508 r12520  
    7979                _printLine_("      num=" << this->num);
    8080                _printString_("      ids: ");
    81                 for (i=0;i<this->num;i++) _printString_("" << this->ids[i] << " ");
     81                for (i=0;i<this->num;i++) _printString_(this->ids[i] << " ");
    8282                _printLine_("");
    8383                _printString_("      offsets: ");
    84                 for (i=0;i<this->num;i++) _printString_("" << this->offsets[i] << " ");
     84                for (i=0;i<this->num;i++) _printString_(this->offsets[i] << " ");
    8585                _printLine_("");
    8686        }
     
    9898                _printLine_("      num=" << this->num);
    9999                _printString_("      ids: ");
    100                 for (i=0;i<this->num;i++) _printString_("" << this->ids[i] << " ");
     100                for (i=0;i<this->num;i++) _printString_(this->ids[i] << " ");
    101101                _printLine_("");
    102102                _printString_("      offsets: ");
    103                 for (i=0;i<this->num;i++) _printString_("" << this->offsets[i] << " ");
     103                for (i=0;i<this->num;i++) _printString_(this->offsets[i] << " ");
    104104                _printLine_("");
    105105                if (!objects) _printLine_("      warning: object not hooked yet");
  • issm/trunk-jpl/src/c/objects/KML/KMLFileReadUtils.cpp

    r12519 r12520  
    130130//      else if (ifield)
    131131//              _pprintLine_("field buffer (length=" << ibuf << "):");
    132 //      _pprintLine_("" << buffer);
     132//      _pprintLine_(buffer);
    133133
    134134        if (!ibuf)
     
    194194
    195195//      _pprintLine_("comment buffer (length=" << ibuf << "):");
    196 //      _pprintLine_("" << buffer);
     196//      _pprintLine_(buffer);
    197197
    198198        if (!ibuf)
  • issm/trunk-jpl/src/c/objects/KML/KML_Attribute.cpp

    r12515 r12520  
    4848        for (i=0;i<10-strlen(name);i++)
    4949                if(flag) _pprintString_(" ");
    50         if(flag) _pprintLine_("" << name << ": \"" << value << "\"");
     50        if(flag) _pprintLine_(name << ": \"" << value << "\"");
    5151
    5252        return;
     
    6969        bool  flag=true;
    7070
    71         if(flag) _pprintString_("" << indent << "    ");
     71        if(flag) _pprintString_(indent << "    ");
    7272        for (i=0;i<10-strlen(name);i++)
    7373                if(flag) _pprintString_(" ");
    74         if(flag) _pprintLine_("" << name << ": \"" << value << "\"");
     74        if(flag) _pprintLine_(name << ": \"" << value << "\"");
    7575
    7676        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_ColorStyle.cpp

    r12515 r12520  
    6868        KML_SubStyle::DeepEcho(indent);
    6969
    70         if(flag) _pprintLine_("" << indent << "         color: " << color);
    71         if(flag) _pprintLine_("" << indent << "     colormode: " << colormode);
     70        if(flag) _pprintLine_(indent << "         color: " << color);
     71        if(flag) _pprintLine_(indent << "     colormode: " << colormode);
    7272}
    7373/*}}}*/
  • issm/trunk-jpl/src/c/objects/KML/KML_Comment.cpp

    r12515 r12520  
    4343
    4444        if(flag) _pprintString_("    ");
    45         if(flag) _pprintLine_("" << value);
     45        if(flag) _pprintLine_(value);
    4646
    4747        return;
     
    6363        bool  flag=true;
    6464
    65         if(flag) _pprintString_("" << indent << "    ");
    66         if(flag) _pprintLine_("" << value);
     65        if(flag) _pprintString_(indent << "    ");
     66        if(flag) _pprintLine_(value);
    6767
    6868        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Container.cpp

    r12515 r12520  
    7878        if (feature->Size())
    7979                for (i=0; i<feature->Size(); i++) {
    80                         if(flag) _pprintLine_("" << indent << "       feature: -------- begin [" << i << "] --------");
     80                        if(flag) _pprintLine_(indent << "       feature: -------- begin [" << i << "] --------");
    8181                        ((KML_Feature *)feature->GetObjectByOffset(i))->DeepEcho(indent2);
    82                         if(flag) _pprintLine_("" << indent << "       feature: --------  end  [" << i << "] --------");
     82                        if(flag) _pprintLine_(indent << "       feature: --------  end  [" << i << "] --------");
    8383                }
    8484        else
    85                 if(flag) _pprintLine_("" << indent << "       feature: [empty]");
     85                if(flag) _pprintLine_(indent << "       feature: [empty]");
    8686
    8787        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Document.cpp

    r12515 r12520  
    6565        bool  flag=true;
    6666
    67         if(flag) _pprintLine_("" << indent << "KML_Document:");
     67        if(flag) _pprintLine_(indent << "KML_Document:");
    6868        KML_Container::DeepEcho(indent);
    6969
  • issm/trunk-jpl/src/c/objects/KML/KML_Feature.cpp

    r12515 r12520  
    8484        KML_Object::DeepEcho(indent);
    8585
    86         if(flag) _pprintLine_("" << indent << "          name: \"" << name << "\"");
    87         if(flag) _pprintLine_("" << indent << "    visibility: " << (visibility ? "true" : "false"));
    88         if(flag) _pprintLine_("" << indent << "          open: " << (open ? "true" : "false"));
    89         if(flag) _pprintLine_("" << indent << "       snippet: \"" << snippet << "\"");
    90         if(flag) _pprintLine_("" << indent << "      descript: \"" << descript << "\"");
    91         if(flag) _pprintLine_("" << indent << "      styleurl: \"" << styleurl << "\"");
     86        if(flag) _pprintLine_(indent << "          name: \"" << name << "\"");
     87        if(flag) _pprintLine_(indent << "    visibility: " << (visibility ? "true" : "false"));
     88        if(flag) _pprintLine_(indent << "          open: " << (open ? "true" : "false"));
     89        if(flag) _pprintLine_(indent << "       snippet: \"" << snippet << "\"");
     90        if(flag) _pprintLine_(indent << "      descript: \"" << descript << "\"");
     91        if(flag) _pprintLine_(indent << "      styleurl: \"" << styleurl << "\"");
    9292
    9393/*  loop over any styles for the feature  */
     
    9898        if (style->Size())
    9999                for (i=0; i<style->Size(); i++) {
    100                         if(flag) _pprintLine_("" << indent << "         style: -------- begin [" << i << "] --------");
     100                        if(flag) _pprintLine_(indent << "         style: -------- begin [" << i << "] --------");
    101101                        ((KML_Style *)style->GetObjectByOffset(i))->DeepEcho(indent2);
    102                         if(flag) _pprintLine_("" << indent << "         style: --------  end  [" << i << "] --------");
     102                        if(flag) _pprintLine_(indent << "         style: --------  end  [" << i << "] --------");
    103103                }
    104104        else
    105                 if(flag) _pprintLine_("" << indent << "         style: [empty]");
     105                if(flag) _pprintLine_(indent << "         style: [empty]");
    106106
    107107        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_File.cpp

    r12515 r12520  
    6363        bool  flag=true;
    6464
    65         if(flag) _pprintLine_("" << indent << "KML_File:");
     65        if(flag) _pprintLine_(indent << "KML_File:");
    6666        KML_Object::DeepEcho(indent);
    6767
  • issm/trunk-jpl/src/c/objects/KML/KML_Folder.cpp

    r12515 r12520  
    6565        bool  flag=true;
    6666
    67         if(flag) _pprintLine_("" << indent << "KML_Folder:");
     67        if(flag) _pprintLine_(indent << "KML_Folder:");
    6868        KML_Container::DeepEcho(indent);
    6969
  • issm/trunk-jpl/src/c/objects/KML/KML_Icon.cpp

    r12515 r12520  
    7979        bool  flag=true;
    8080
    81         if(flag) _pprintLine_("" << indent << "KML_Icon:");
     81        if(flag) _pprintLine_(indent << "KML_Icon:");
    8282        KML_Object::DeepEcho(indent);
    8383
    84         if(flag) _pprintLine_("" << indent << "          href: \"" << href << "\"");
    85         if(flag) _pprintLine_("" << indent << "       refmode: \"" << refmode << "\"");
    86         if(flag) _pprintLine_("" << indent << "        refint: " << refint);
    87         if(flag) _pprintLine_("" << indent << "      vrefmode: \"" << vrefmode << "\"");
    88         if(flag) _pprintLine_("" << indent << "      vreftime: " << vreftime);
    89         if(flag) _pprintLine_("" << indent << "      vboundsc: " << vboundsc);
    90         if(flag) _pprintLine_("" << indent << "       vformat: \"" << vformat << "\"");
    91         if(flag) _pprintLine_("" << indent << "        hquery: \"" << hquery << "\"");
     84        if(flag) _pprintLine_(indent << "          href: \"" << href << "\"");
     85        if(flag) _pprintLine_(indent << "       refmode: \"" << refmode << "\"");
     86        if(flag) _pprintLine_(indent << "        refint: " << refint);
     87        if(flag) _pprintLine_(indent << "      vrefmode: \"" << vrefmode << "\"");
     88        if(flag) _pprintLine_(indent << "      vreftime: " << vreftime);
     89        if(flag) _pprintLine_(indent << "      vboundsc: " << vboundsc);
     90        if(flag) _pprintLine_(indent << "       vformat: \"" << vformat << "\"");
     91        if(flag) _pprintLine_(indent << "        hquery: \"" << hquery << "\"");
    9292
    9393        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_LineString.cpp

    r12515 r12520  
    7878        bool  flag=true;
    7979
    80         if(flag) _pprintLine_("" << indent << "KML_LineString:");
     80        if(flag) _pprintLine_(indent << "KML_LineString:");
    8181        KML_Geometry::DeepEcho(indent);
    8282
    83         if(flag) _pprintLine_("" << indent << "       extrude: " << (extrude ? "true" : "false"));
    84         if(flag) _pprintLine_("" << indent << "    tessellate: " << (tessellate ? "true" : "false"));
    85         if(flag) _pprintLine_("" << indent << "       altmode: \"" << altmode << "\"");
    86         if(flag) _pprintLine_("" << indent << "        coords: (ncoord=" << ncoord << ")");
     83        if(flag) _pprintLine_(indent << "       extrude: " << (extrude ? "true" : "false"));
     84        if(flag) _pprintLine_(indent << "    tessellate: " << (tessellate ? "true" : "false"));
     85        if(flag) _pprintLine_(indent << "       altmode: \"" << altmode << "\"");
     86        if(flag) _pprintLine_(indent << "        coords: (ncoord=" << ncoord << ")");
    8787        for (i=0; i<ncoord; i++)
    88                 if(flag) _pprintLine_("" << indent << "                (" << coords[3*i+0] << "," << coords[3*i+1] << "," << coords[3*i+2] << ")");
     88                if(flag) _pprintLine_(indent << "                (" << coords[3*i+0] << "," << coords[3*i+1] << "," << coords[3*i+2] << ")");
    8989
    9090        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_LineStyle.cpp

    r12515 r12520  
    6666        bool  flag=true;
    6767
    68         if(flag) _pprintLine_("" << indent << "KML_LineStyle:");
     68        if(flag) _pprintLine_(indent << "KML_LineStyle:");
    6969        KML_ColorStyle::DeepEcho(indent);
    7070
    71         if(flag) _pprintLine_("" << indent << "         width: " << width);
     71        if(flag) _pprintLine_(indent << "         width: " << width);
    7272
    7373        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_LinearRing.cpp

    r12515 r12520  
    7878        bool  flag=true;
    7979
    80         if(flag) _pprintLine_("" << indent << "KML_LinearRing:");
     80        if(flag) _pprintLine_(indent << "KML_LinearRing:");
    8181        KML_Geometry::DeepEcho(indent);
    8282
    83         if(flag) _pprintLine_("" << indent << "       extrude: " << (extrude ? "true" : "false"));
    84         if(flag) _pprintLine_("" << indent << "    tessellate: " << (tessellate ? "true" : "false"));
    85         if(flag) _pprintLine_("" << indent << "       altmode: \"" << altmode << "\"");
    86         if(flag) _pprintLine_("" << indent << "        coords: (ncoord=" << ncoord << ")");
     83        if(flag) _pprintLine_(indent << "       extrude: " << (extrude ? "true" : "false"));
     84        if(flag) _pprintLine_(indent << "    tessellate: " << (tessellate ? "true" : "false"));
     85        if(flag) _pprintLine_(indent << "       altmode: \"" << altmode << "\"");
     86        if(flag) _pprintLine_(indent << "        coords: (ncoord=" << ncoord << ")");
    8787        for (i=0; i<ncoord; i++)
    8888                _printf_(flag,"%s                (%g,%g,%g)\n",indent,
  • issm/trunk-jpl/src/c/objects/KML/KML_MultiGeometry.cpp

    r12515 r12520  
    7070        bool  flag=true;
    7171
    72         if(flag) _pprintLine_("" << indent << "KML_Multigeometry:");
     72        if(flag) _pprintLine_(indent << "KML_Multigeometry:");
    7373        KML_Geometry::DeepEcho(indent);
    7474
     
    8080        if (geometry->Size())
    8181                for (i=0; i<geometry->Size(); i++) {
    82                         if(flag) _pprintLine_("" << indent << "      geometry: -------- begin [" << i << "] --------");
     82                        if(flag) _pprintLine_(indent << "      geometry: -------- begin [" << i << "] --------");
    8383                        ((KML_Geometry *)geometry->GetObjectByOffset(i))->DeepEcho(indent2);
    84                         if(flag) _pprintLine_("" << indent << "      geometry: --------  end  [" << i << "] --------");
     84                        if(flag) _pprintLine_(indent << "      geometry: --------  end  [" << i << "] --------");
    8585                }
    8686        else
    87                 if(flag) _pprintLine_("" << indent << "      geometry: [empty]");
     87                if(flag) _pprintLine_(indent << "      geometry: [empty]");
    8888
    8989        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Object.cpp

    r12519 r12520  
    8686                }
    8787        else
    88                 if(flag) _pprintLine_("" << indent << "        attrib: [empty]");
     88                if(flag) _pprintLine_(indent << "        attrib: [empty]");
    8989
    9090/*  loop over the comments for the object  */
     
    9595                }
    9696        else
    97                 if(flag) _pprintLine_("" << indent << "        commnt: [empty]");
     97                if(flag) _pprintLine_(indent << "        commnt: [empty]");
    9898
    9999/*  loop over the unknown objects for the object  */
     
    104104        if (kmlobj->Size())
    105105                for (i=0; i<kmlobj->Size(); i++) {
    106             if(flag) _pprintLine_("" << indent << "        kmlobj: -------- begin [" << i << "] --------");
     106            if(flag) _pprintLine_(indent << "        kmlobj: -------- begin [" << i << "] --------");
    107107                        ((KML_Unknown *)kmlobj->GetObjectByOffset(i))->DeepEcho(indent2);
    108             if(flag) _pprintLine_("" << indent << "        kmlobj: --------  end  [" << i << "] --------");
     108            if(flag) _pprintLine_(indent << "        kmlobj: --------  end  [" << i << "] --------");
    109109                }
    110110        else
    111                 if(flag) _pprintLine_("" << indent << "        kmlobj: [empty]");
     111                if(flag) _pprintLine_(indent << "        kmlobj: [empty]");
    112112
    113113        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Overlay.cpp

    r12515 r12520  
    7272        strcat(indent2,"  ");
    7373
    74         _pprintLine_("" << indent << "         color: " << color);
    75         _pprintLine_("" << indent << "       draword: " << draword);
     74        _pprintLine_(indent << "         color: " << color);
     75        _pprintLine_(indent << "       draword: " << draword);
    7676        if (icon)
    7777                icon->DeepEcho(indent2);
    7878        else
    79                 _pprintLine_("" << indent << "          icon: " << icon);
     79                _pprintLine_(indent << "          icon: " << icon);
    8080}
    8181/*}}}*/
  • issm/trunk-jpl/src/c/objects/KML/KML_Placemark.cpp

    r12515 r12520  
    7070        bool  flag=true;
    7171
    72         if(flag) _pprintLine_("" << indent << "KML_Placemark:");
     72        if(flag) _pprintLine_(indent << "KML_Placemark:");
    7373        KML_Feature::DeepEcho(indent);
    7474
     
    8080        if (geometry->Size())
    8181                for (i=0; i<geometry->Size(); i++) {
    82                         if(flag) _pprintLine_("" << indent << "      geometry: -------- begin [" << i << "] --------");
     82                        if(flag) _pprintLine_(indent << "      geometry: -------- begin [" << i << "] --------");
    8383                        ((KML_Geometry *)geometry->GetObjectByOffset(i))->DeepEcho(indent2);
    84                         if(flag) _pprintLine_("" << indent << "      geometry: --------  end  [" << i << "] --------");
     84                        if(flag) _pprintLine_(indent << "      geometry: --------  end  [" << i << "] --------");
    8585                }
    8686        else
    87                 if(flag) _pprintLine_("" << indent << "      geometry: [empty]");
     87                if(flag) _pprintLine_(indent << "      geometry: [empty]");
    8888
    8989        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Point.cpp

    r12515 r12520  
    7373        bool  flag=true;
    7474
    75         if(flag) _pprintLine_("" << indent << "KML_Point:");
     75        if(flag) _pprintLine_(indent << "KML_Point:");
    7676        KML_Geometry::DeepEcho(indent);
    7777
    78         if(flag) _pprintLine_("" << indent << "       extrude: " << (extrude ? "true" : "false"));
    79         if(flag) _pprintLine_("" << indent << "       altmode: \"" << altmode << "\"");
    80         if(flag) _pprintLine_("" << indent << "        coords: (" << coords[0] << "," << coords[1] << "," << coords[2] << ")");
     78        if(flag) _pprintLine_(indent << "       extrude: " << (extrude ? "true" : "false"));
     79        if(flag) _pprintLine_(indent << "       altmode: \"" << altmode << "\"");
     80        if(flag) _pprintLine_(indent << "        coords: (" << coords[0] << "," << coords[1] << "," << coords[2] << ")");
    8181
    8282        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_PolyStyle.cpp

    r12515 r12520  
    6868        bool  flag=true;
    6969
    70         if(flag) _pprintLine_("" << indent << "KML_PolyStyle:");
     70        if(flag) _pprintLine_(indent << "KML_PolyStyle:");
    7171        KML_ColorStyle::DeepEcho(indent);
    7272
    73         if(flag) _pprintLine_("" << indent << "          fill: " << fill);
    74         if(flag) _pprintLine_("" << indent << "       outline: " << outline);
     73        if(flag) _pprintLine_(indent << "          fill: " << fill);
     74        if(flag) _pprintLine_(indent << "       outline: " << outline);
    7575
    7676        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Polygon.cpp

    r12515 r12520  
    8484        bool  flag=true;
    8585
    86         if(flag) _pprintLine_("" << indent << "KML_Polygon:");
     86        if(flag) _pprintLine_(indent << "KML_Polygon:");
    8787        KML_Geometry::DeepEcho(indent);
    8888
    89         if(flag) _pprintLine_("" << indent << "       extrude: " << (extrude ? "true" : "false"));
    90         if(flag) _pprintLine_("" << indent << "    tessellate: " << (tessellate ? "true" : "false"));
    91         if(flag) _pprintLine_("" << indent << "       altmode: \"" << altmode << "\"");
     89        if(flag) _pprintLine_(indent << "       extrude: " << (extrude ? "true" : "false"));
     90        if(flag) _pprintLine_(indent << "    tessellate: " << (tessellate ? "true" : "false"));
     91        if(flag) _pprintLine_(indent << "       altmode: \"" << altmode << "\"");
    9292
    9393        memcpy(indent2,indent,(strlen(indent)+1)*sizeof(char));
     
    9696        if (outer->Size())
    9797                for (i=0; i<outer->Size(); i++) {
    98                         if(flag) _pprintLine_("" << indent << "         outer: -------- begin [" << i << "] --------");
     98                        if(flag) _pprintLine_(indent << "         outer: -------- begin [" << i << "] --------");
    9999                        ((KML_LinearRing *)outer->GetObjectByOffset(i))->DeepEcho(indent2);
    100                         if(flag) _pprintLine_("" << indent << "         outer: --------  end  [" << i << "] --------");
     100                        if(flag) _pprintLine_(indent << "         outer: --------  end  [" << i << "] --------");
    101101                }
    102102        else
    103                 if(flag) _pprintLine_("" << indent << "         outer: [empty]");
     103                if(flag) _pprintLine_(indent << "         outer: [empty]");
    104104
    105105        if (inner->Size())
    106106                for (i=0; i<inner->Size(); i++) {
    107                         if(flag) _pprintLine_("" << indent << "         inner: -------- begin [" << i << "] --------");
     107                        if(flag) _pprintLine_(indent << "         inner: -------- begin [" << i << "] --------");
    108108                        ((KML_LinearRing *)inner->GetObjectByOffset(i))->DeepEcho(indent2);
    109                         if(flag) _pprintLine_("" << indent << "         inner: --------  end  [" << i << "] --------");
     109                        if(flag) _pprintLine_(indent << "         inner: --------  end  [" << i << "] --------");
    110110                }
    111111        else
    112                 if(flag) _pprintLine_("" << indent << "         inner: [empty]");
     112                if(flag) _pprintLine_(indent << "         inner: [empty]");
    113113
    114114        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Style.cpp

    r12515 r12520  
    103103        bool  flag=true;
    104104
    105         if(flag) _pprintLine_("" << indent << "KML_Style:");
     105        if(flag) _pprintLine_(indent << "KML_Style:");
    106106        KML_StyleSelector::DeepEcho(indent);
    107107
     
    112112//              icon->DeepEcho(indent2);
    113113//      else
    114                 if(flag) _pprintLine_("" << indent << "          icon: " << icon);
     114                if(flag) _pprintLine_(indent << "          icon: " << icon);
    115115//      if (label)
    116116//              label->DeepEcho(indent2);
    117117//      else
    118                 if(flag) _pprintLine_("" << indent << "         label: " << label);
     118                if(flag) _pprintLine_(indent << "         label: " << label);
    119119        if (line)
    120120                line->DeepEcho(indent2);
    121121        else
    122                 if(flag) _pprintLine_("" << indent << "          line: " << line);
     122                if(flag) _pprintLine_(indent << "          line: " << line);
    123123        if (poly)
    124124                poly->DeepEcho(indent2);
    125125        else
    126                 if(flag) _pprintLine_("" << indent << "          poly: " << poly);
     126                if(flag) _pprintLine_(indent << "          poly: " << poly);
    127127//      if (balloon)
    128128//              balloon->DeepEcho(indent2);
    129129//      else
    130                 if(flag) _pprintLine_("" << indent << "       balloon: " << balloon);
     130                if(flag) _pprintLine_(indent << "       balloon: " << balloon);
    131131//      if (list)
    132132//              list->DeepEcho(indent2);
    133133//      else
    134                 if(flag) _pprintLine_("" << indent << "          list: " << list);
     134                if(flag) _pprintLine_(indent << "          list: " << list);
    135135
    136136        return;
  • issm/trunk-jpl/src/c/objects/KML/KML_Unknown.cpp

    r12519 r12520  
    7373        bool         flag=true;
    7474
    75         if(flag) _pprintLine_("" << indent << "KML_Unknown " << name << ":");
     75        if(flag) _pprintLine_(indent << "KML_Unknown " << name << ":");
    7676        KML_Object::DeepEcho(indent);
    7777
     
    8181       
    8282                vtoken=strtok(valuei,nl);
    83                 if(flag) _pprintString_("" << indent << "         value: \"" << vtoken);
     83                if(flag) _pprintString_(indent << "         value: \"" << vtoken);
    8484   
    8585                while (vtoken=strtok(NULL,nl))
     
    9090        }
    9191    else
    92         if(flag) _pprintLine_("" << indent << "         value: [none]");
     92        if(flag) _pprintLine_(indent << "         value: [none]");
    9393
    9494        return;
  • issm/trunk-jpl/src/c/objects/Numerics/Matrix.cpp

    r12511 r12520  
    133133        for(i=0;i<M;i++){
    134134                for(j=0;j<N;j++){
    135                         _printString_("" << *(amatrix+N*i+j) << " ");
     135                        _printString_(*(amatrix+N*i+j) << " ");
    136136                }
    137137                _printLine_("");
  • issm/trunk-jpl/src/c/objects/Options/Option.cpp

    r12515 r12520  
    7373        bool  flag=true;
    7474
    75         if(flag) _pprintLine_("" << indent << "          name: \"" << name << "\"");
    76         if(flag) _pprintLine_("" << indent << "         numel: " << numel);
    77         if(flag) _pprintLine_("" << indent << "         ndims: " << ndims);
     75        if(flag) _pprintLine_(indent << "          name: \"" << name << "\"");
     76        if(flag) _pprintLine_(indent << "         numel: " << numel);
     77        if(flag) _pprintLine_(indent << "         ndims: " << ndims);
    7878        if(size){
    7979                StringFromSize(cstr,size,ndims);
    80                 if(flag) _pprintLine_("" << indent << "          size: " << cstr);
     80                if(flag) _pprintLine_(indent << "          size: " << cstr);
    8181        }
    82         else if(flag) _pprintLine_("" << indent << "          size: [empty]");
     82        else if(flag) _pprintLine_(indent << "          size: [empty]");
    8383}
    8484/*}}}*/
  • issm/trunk-jpl/src/c/objects/Options/OptionCell.cpp

    r12515 r12520  
    7575        bool  flag=true;
    7676
    77         if(flag) _pprintLine_("" << indent << "OptionCell DeepEcho:");
     77        if(flag) _pprintLine_(indent << "OptionCell DeepEcho:");
    7878        Option::DeepEcho(indent);
    7979
     
    8686                        ColumnWiseDimsFromIndex(dims,i,size,ndims);
    8787                        StringFromDims(cstr,dims,ndims);
    88                         if(flag) _pprintLine_("" << indent << "        values: -------- begin " << cstr << " --------");
     88                        if(flag) _pprintLine_(indent << "        values: -------- begin " << cstr << " --------");
    8989                        ((Option *)values->GetObjectByOffset(i))->DeepEcho(indent2);
    90                         if(flag) _pprintLine_("" << indent << "        values: --------  end  " << cstr << " --------");
     90                        if(flag) _pprintLine_(indent << "        values: --------  end  " << cstr << " --------");
    9191                }
    9292                xDelete<int>(dims);
    9393        }
    94         else if(flag) _pprintLine_("" << indent << "        values: [empty]");
     94        else if(flag) _pprintLine_(indent << "        values: [empty]");
    9595}
    9696/*}}}*/
  • issm/trunk-jpl/src/c/objects/Options/OptionChar.cpp

    r12515 r12520  
    7979        bool  flag=true;
    8080
    81         if(flag) _pprintLine_("" << indent << "OptionChar DeepEcho:");
     81        if(flag) _pprintLine_(indent << "OptionChar DeepEcho:");
    8282        Option::DeepEcho(indent);
    8383
     
    8787        if (values) {
    8888                if (ndims == 2 && size[0] == 1) {
    89                         if(flag) _pprintLine_("" << indent << "        values: \"" << values << "\"");
     89                        if(flag) _pprintLine_(indent << "        values: \"" << values << "\"");
    9090                }
    9191                else {
     
    9797                                RowWiseDimsFromIndex(dims,ipt,size,ndims);
    9898                                StringFromDims(cstr,dims,ndims);
    99                                 if(flag) _pprintLine_("" << indent << "        values" << cstr << ": \"" << size[1] << "*s\"");
     99                                if(flag) _pprintLine_(indent << "        values" << cstr << ": \"" << size[1] << "*s\"");
    100100                                ipt+=size[1];
    101101                        }
     
    103103                }
    104104        }
    105         else if(flag) _pprintLine_("" << indent << "        values: [empty]");
     105        else if(flag) _pprintLine_(indent << "        values: [empty]");
    106106}
    107107/*}}}*/
  • issm/trunk-jpl/src/c/objects/Options/OptionDouble.cpp

    r12515 r12520  
    7575        bool  flag=true;
    7676
    77         if(flag) _pprintLine_("" << indent << "OptionDouble DeepEcho:");
     77        if(flag) _pprintLine_(indent << "OptionDouble DeepEcho:");
    7878        Option::DeepEcho(indent);
    7979
     
    8383        if (values) {
    8484                dims=xNew<int>(ndims);
    85                 if(numel==1) if(flag) _pprintLine_("" << indent << "        values: " << values[0]);
     85                if(numel==1) if(flag) _pprintLine_(indent << "        values: " << values[0]);
    8686                else{
    8787                        for (i=0; i<numel; i++) {
    8888                                RowWiseDimsFromIndex(dims,i,size,ndims);
    8989                                StringFromDims(cstr,dims,ndims);
    90                                 if(flag) _pprintLine_("" << indent << "        values" << cstr << ": " << values[i]);
     90                                if(flag) _pprintLine_(indent << "        values" << cstr << ": " << values[i]);
    9191                        }
    9292                }
    9393                xDelete<int>(dims);
    9494        }
    95         else if(flag) _pprintLine_("" << indent << "        values: [empty]");
     95        else if(flag) _pprintLine_(indent << "        values: [empty]");
    9696}
    9797/*}}}*/
  • issm/trunk-jpl/src/c/objects/Options/OptionLogical.cpp

    r12515 r12520  
    7575        bool  flag=true;
    7676
    77         if(flag) _pprintLine_("" << indent << "OptionLogical DeepEcho:");
     77        if(flag) _pprintLine_(indent << "OptionLogical DeepEcho:");
    7878        Option::DeepEcho(indent);
    7979
     
    8282
    8383        if (values) {
    84                 if(numel==1) if(flag) _pprintLine_("" << indent << "        values: " << (values[0] ? "true" : "false"));
     84                if(numel==1) if(flag) _pprintLine_(indent << "        values: " << (values[0] ? "true" : "false"));
    8585                else{
    8686                        dims=xNew<int>(ndims);
     
    8888                                RowWiseDimsFromIndex(dims,i,size,ndims);
    8989                                StringFromDims(cstr,dims,ndims);
    90                                 if(flag) _pprintLine_("" << indent << "        values" << cstr << ": " << (values[i] ? "true" : "false"));
     90                                if(flag) _pprintLine_(indent << "        values" << cstr << ": " << (values[i] ? "true" : "false"));
    9191                        }
    9292                        xDelete<int>(dims);
    9393                }
    9494        }
    95         else if(flag) _pprintLine_("" << indent << "        values: [empty]");
     95        else if(flag) _pprintLine_(indent << "        values: [empty]");
    9696}
    9797/*}}}*/
  • issm/trunk-jpl/src/c/objects/Options/OptionStruct.cpp

    r12515 r12520  
    8080        bool  flag=true;
    8181
    82         if(flag) _pprintLine_("" << indent << "OptionStruct DeepEcho:");
     82        if(flag) _pprintLine_(indent << "OptionStruct DeepEcho:");
    8383        Option::DeepEcho(indent);
    8484
     
    9292                        StringFromDims(cstr,dims,ndims);
    9393                        if (values[i]->Size()){
    94                                 if(flag) _pprintLine_("" << indent << "        values: -------- begin " << cstr << " --------");
     94                                if(flag) _pprintLine_(indent << "        values: -------- begin " << cstr << " --------");
    9595                                for (j=0; j<values[i]->Size(); j++) ((Option *)values[i]->GetObjectByOffset(j))->DeepEcho(indent2);
    96                                 if(flag) _pprintLine_("" << indent << "        values: --------  end  " << cstr << " --------");
     96                                if(flag) _pprintLine_(indent << "        values: --------  end  " << cstr << " --------");
    9797                        }
    98                         else if(flag) _pprintLine_("" << indent << "        values: " << cstr << " [empty]");
     98                        else if(flag) _pprintLine_(indent << "        values: " << cstr << " [empty]");
    9999                }
    100100                xDelete<int>(dims);
    101101        }
    102         else if(flag) _pprintLine_("" << indent << "        values: [empty]");
     102        else if(flag) _pprintLine_(indent << "        values: [empty]");
    103103}
    104104/*}}}*/
  • issm/trunk-jpl/src/c/objects/Params/DoubleMatArrayParam.cpp

    r12511 r12520  
    112112                for(j=0;j<m;j++){
    113113                        _printString_("   ");
    114                         for(k=0;k<n;k++)_printString_("" << *(matrix+n*j+k) << " ");
     114                        for(k=0;k<n;k++)_printString_(*(matrix+n*j+k) << " ");
    115115                        _printLine_("");
    116116                }
  • issm/trunk-jpl/src/c/objects/Params/DoubleMatParam.cpp

    r12511 r12520  
    6464        for(i=0;i<this->M;i++){
    6565                for(i=0;i<this->N;i++){
    66                         _printLine_("" << i << " " << j << " " << *(this->value+N*i+j));
     66                        _printLine_(i << " " << j << " " << *(this->value+N*i+j));
    6767                }
    6868        }
  • issm/trunk-jpl/src/c/objects/Params/DoubleVecParam.cpp

    r12511 r12520  
    6262        _printLine_("   vector size: " << this->M);
    6363        for(i=0;i<this->M;i++){
    64                 _printLine_("" << i << " " << this->values[i]);
     64                _printLine_(i << " " << this->values[i]);
    6565        }
    6666}
  • issm/trunk-jpl/src/c/objects/Params/IntVecParam.cpp

    r12511 r12520  
    7878        _printLine_("   vector size: " << this->M);
    7979        for(i=0;i<this->M;i++){
    80                 _printLine_("" << i << " " << this->values[i]);
     80                _printLine_(i << " " << this->values[i]);
    8181        }
    8282}
  • issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp

    r12511 r12520  
    4444
    4545        if (function_name=="" || file_line==0){ //WINDOWS
    46                 _printString_("" << "Error message: " << what());
     46                _printString_("Error message: " << what());
    4747        }
    4848        else{
    4949                if(num_procs==1){
    5050                        _printLine_("\n??? Error using ==> " << file_name.c_str() << ":" << file_line);
    51                         _printLine_("" << function_name.c_str() << " error message: " << what() << "\n");
     51                        _printLine_(function_name.c_str() << " error message: " << what() << "\n");
    5252                }
    5353                else{
  • issm/trunk-jpl/src/c/solutions/ResetBoundaryConditions.cpp

    r12515 r12520  
    1515        int    i;
    1616
    17         if(VerboseSolution()) _pprintLine_("" << "   updating boundary conditions...");
     17        if(VerboseSolution()) _pprintLine_("   updating boundary conditions...");
    1818                       
    1919        /*set current analysis: */
  • issm/trunk-jpl/src/c/solutions/adjointbalancethickness_core.cpp

    r12515 r12520  
    2222
    2323        /*compute thickness */
    24         if(VerboseSolution()) _pprintLine_("" << "   computing thickness");
     24        if(VerboseSolution()) _pprintLine_("   computing thickness");
    2525        femmodel->SetCurrentConfiguration(BalancethicknessAnalysisEnum);
    2626        solver_linear(femmodel);
     
    3030
    3131        /*compute adjoint*/
    32         if(VerboseSolution()) _pprintLine_("" << "   computing adjoint");
     32        if(VerboseSolution()) _pprintLine_("   computing adjoint");
    3333        femmodel->SetCurrentConfiguration(BalancethicknessAnalysisEnum,AdjointBalancethicknessAnalysisEnum);
    3434        solver_adjoint_linear(femmodel);
  • issm/trunk-jpl/src/c/solutions/adjointdiagnostic_core.cpp

    r12515 r12520  
    2525
    2626        /*Compute velocities*/
    27         if(VerboseSolution()) _pprintLine_("" << "   computing velocities");
     27        if(VerboseSolution()) _pprintLine_("   computing velocities");
    2828        femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum);
    2929        solver_nonlinear(femmodel,conserve_loads);
     
    3333
    3434        /*Compute adjoint*/
    35         if(VerboseSolution()) _pprintLine_("" << "   computing adjoint");
     35        if(VerboseSolution()) _pprintLine_("   computing adjoint");
    3636        femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum,AdjointHorizAnalysisEnum);
    3737        solver_adjoint_linear(femmodel);
  • issm/trunk-jpl/src/c/solutions/bedslope_core.cpp

    r12515 r12520  
    1919        femmodel->parameters->FindParam(&save_results,SaveResultsEnum);
    2020
    21         if(VerboseSolution()) _pprintLine_("" << "   computing slope");
     21        if(VerboseSolution()) _pprintLine_("   computing slope");
    2222
    2323        /*Call on core computations: */
  • issm/trunk-jpl/src/c/solutions/control_core.cpp

    r12515 r12520  
    6666
    6767        /*Launch once a complete solution to set up all inputs*/
    68         if(VerboseControl()) _pprintLine_("" << "   preparing initial solution");
     68        if(VerboseControl()) _pprintLine_("   preparing initial solution");
    6969        if(isstokes) solutioncore(femmodel);
    7070
     
    8888                if(solution_type==SteadystateSolutionEnum) solutioncore(femmodel);
    8989
    90                 if(VerboseControl()) _pprintLine_("" << "   compute adjoint state:");
     90                if(VerboseControl()) _pprintLine_("   compute adjoint state:");
    9191                adjointcore(femmodel);
    9292                gradient_core(femmodel,n,search_scalar==0);
     
    9898                }
    9999
    100                 if(VerboseControl()) _pprintLine_("" << "   optimizing along gradient direction");
     100                if(VerboseControl()) _pprintLine_("   optimizing along gradient direction");
    101101                optpars.maxiter=(int)maxiter[n]; optpars.cm_jump=cm_jump[n];
    102102                BrentSearch(&search_scalar,J+n,&optpars,&objectivefunction,&optargs);
    103103
    104                 if(VerboseControl()) _pprintLine_("" << "   updating parameter using optimized search scalar"); //true means update save controls
     104                if(VerboseControl()) _pprintLine_("   updating parameter using optimized search scalar"); //true means update save controls
    105105                InputControlUpdatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,search_scalar,true);
    106106               
     
    108108        }
    109109
    110         if(VerboseControl()) _pprintLine_("" << "   preparing final solution");
     110        if(VerboseControl()) _pprintLine_("   preparing final solution");
    111111        femmodel->parameters->SetParam(true,SaveResultsEnum);
    112112        solutioncore(femmodel);
  • issm/trunk-jpl/src/c/solutions/controltao_core.cpp

    r12519 r12520  
    5454        /*Initialize TAO*/
    5555        TaoCreate(PETSC_COMM_WORLD,&tao);
    56         if(VerboseControl()) _pprintLine_("" << "   Initializing the Toolkit for Advanced Optimization (TAO)");
     56        if(VerboseControl()) _pprintLine_("   Initializing the Toolkit for Advanced Optimization (TAO)");
    5757        TaoSetFromOptions(tao);
    5858        TaoSetType(tao,"tao_blmvm");
     
    7878
    7979        /*Solver optimization problem*/
    80         if(VerboseControl()) _pprintLine_("" << "   Starting optimization");
     80        if(VerboseControl()) _pprintLine_("   Starting optimization");
    8181        TaoSolve(tao);
    8282        TaoView(tao,PETSC_VIEWER_STDOUT_WORLD);
     
    8888
    8989        /*Finalize*/
    90         if(VerboseControl()) _pprintLine_("" << "   preparing final solution");
     90        if(VerboseControl()) _pprintLine_("   preparing final solution");
    9191        femmodel->parameters->SetParam(true,SaveResultsEnum);
    9292        void (*solutioncore)(FemModel*)=NULL;
  • issm/trunk-jpl/src/c/solutions/convergence.cpp

    r12519 r12520  
    8181        //print
    8282        if(res<eps_res){
    83                 if(VerboseConvergence()) _pprintLine_("" << "   mechanical equilibrium convergence criterion" << "50s" << res*100 << " < " << eps_res*100 << " %");
     83                if(VerboseConvergence()) _pprintLine_("   mechanical equilibrium convergence criterion" << "50s" << res*100 << " < " << eps_res*100 << " %");
    8484                converged=true;
    8585        }
    8686        else{
    87                 if(VerboseConvergence()) _pprintLine_("" << "   mechanical equilibrium convergence criterion" << "50s" << res*100 << " > " << eps_res*100 << " %");
     87                if(VerboseConvergence()) _pprintLine_("   mechanical equilibrium convergence criterion" << "50s" << res*100 << " > " << eps_res*100 << " %");
    8888                converged=false;
    8989        }
     
    104104                if (!isnan(eps_rel)){
    105105                        if((ndu/nu)<eps_rel){
    106                                 if(VerboseConvergence()) _pprintLine_("" << "   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " < " << eps_rel*100 << " %");
     106                                if(VerboseConvergence()) _pprintLine_("   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " < " << eps_rel*100 << " %");
    107107                        }
    108108                        else{
    109                                 if(VerboseConvergence()) _pprintLine_("" << "   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " > " << eps_rel*100 << " %");
     109                                if(VerboseConvergence()) _pprintLine_("   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " > " << eps_rel*100 << " %");
    110110                                converged=false;
    111111                        }
    112112                }
    113                 else _pprintLine_("" << "   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " %");
     113                else _pprintLine_("   Convergence criterion: norm(du)/norm(u)" << "50s" << ndu/nu*100 << " %");
    114114
    115115        }
     
    129129                if (!isnan(eps_abs)){
    130130                        if ((nduinf*yts)<eps_abs){
    131                                 if(VerboseConvergence()) _pprintLine_("" << "   Convergence criterion: max(du)" << "50s" << nduinf*yts << " < " << eps_abs << " m/yr");
     131                                if(VerboseConvergence()) _pprintLine_("   Convergence criterion: max(du)" << "50s" << nduinf*yts << " < " << eps_abs << " m/yr");
    132132                        }
    133133                        else{
    134                                 if(VerboseConvergence()) _pprintLine_("" << "   Convergence criterion: max(du)" << "50s" << nduinf*yts << " > " << eps_abs << " m/yr");
     134                                if(VerboseConvergence()) _pprintLine_("   Convergence criterion: max(du)" << "50s" << nduinf*yts << " > " << eps_abs << " m/yr");
    135135                                converged=false;
    136136                        }
    137137                }
    138                 else  _pprintLine_("" << "   Convergence criterion: max(du)" << "50s" << nduinf*yts << " m/yr");
     138                else  _pprintLine_("   Convergence criterion: max(du)" << "50s" << nduinf*yts << " m/yr");
    139139
    140140        }
  • issm/trunk-jpl/src/c/solutions/diagnostic_core.cpp

    r12515 r12520  
    5959        if(ishutter){
    6060                       
    61                 if(VerboseSolution()) _pprintLine_("" << "   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                 if(VerboseSolution()) _pprintLine_("" << "   computing velocities");
     74                if(VerboseSolution()) _pprintLine_("   computing velocities");
    7575                femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum);
    7676                if(isnewton)
     
    8282        if (ismacayealpattyn && isstokes){
    8383
    84                 if(VerboseSolution()) _pprintLine_("" << "   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                 if(VerboseSolution()) _pprintLine_("" << "   computing vertical velocities");
     90                if(VerboseSolution()) _pprintLine_("   computing vertical velocities");
    9191                femmodel->SetCurrentConfiguration(DiagnosticVertAnalysisEnum);
    9292                solver_linear(femmodel);
  • issm/trunk-jpl/src/c/solutions/steadystate_core.cpp

    r12515 r12520  
    5555                #endif
    5656
    57                 if(VerboseSolution()) _pprintLine_("" << "   computing new velocity");
     57                if(VerboseSolution()) _pprintLine_("   computing new velocity");
    5858                diagnostic_core(femmodel);
    5959
    6060                if (step>1){
    61                         if(VerboseSolution()) _pprintLine_("" << "   checking velocity, temperature and pressure convergence");
     61                        if(VerboseSolution()) _pprintLine_("   checking velocity, temperature and pressure convergence");
    6262                        if(steadystateconvergence(femmodel)) break;
    6363                }
    6464                if(step>maxiter){
    65                         if(VerboseSolution()) _pprintLine_("" << "   maximum number steadystate iterations " << maxiter << " reached");
     65                        if(VerboseSolution()) _pprintLine_("   maximum number steadystate iterations " << maxiter << " reached");
    6666                        break;
    6767                }
    6868               
    69                 if(VerboseSolution()) _pprintLine_("" << "   saving velocity, temperature and pressure to check for convergence at next step");
     69                if(VerboseSolution()) _pprintLine_("   saving velocity, temperature and pressure to check for convergence at next step");
    7070                InputDuplicatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,VxEnum,VxPicardEnum);
    7171                InputDuplicatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,VyEnum,VyPicardEnum);
  • issm/trunk-jpl/src/c/solutions/surfaceslope_core.cpp

    r12515 r12520  
    1919        femmodel->parameters->FindParam(&save_results,SaveResultsEnum);
    2020
    21         if(VerboseSolution()) _pprintLine_("" << "computing slope...");
     21        if(VerboseSolution()) _pprintLine_("computing slope...");
    2222
    2323        /*Call on core computations: */
  • issm/trunk-jpl/src/c/solvers/solver_thermal_nonlinear.cpp

    r12519 r12520  
    4747        converged=false;
    4848
    49         if(VerboseSolution()) _pprintLine_("" << "starting direct shooting method");
     49        if(VerboseSolution()) _pprintLine_("starting direct shooting method");
    5050        InputUpdateFromConstantx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,true,ResetPenaltiesEnum);
    5151        InputUpdateFromConstantx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,false,ConvergedEnum);
     
    6666
    6767                if (!converged){
    68                         if(VerboseConvergence()) _pprintLine_("" << "   #unstable constraints = " << num_unstable_constraints);
     68                        if(VerboseConvergence()) _pprintLine_("   #unstable constraints = " << num_unstable_constraints);
    6969                        if (num_unstable_constraints <= thermal_penalty_threshold)converged=true;
    7070                        if (count>=thermal_maxiter){
  • issm/trunk-jpl/src/c/toolkits/issm/SeqMat.cpp

    r12511 r12520  
    8686        for(i=0;i<M;i++){
    8787                for(j=0;j<N;j++){
    88                         _printString_("" << this->matrix[N*i+j] << " ");
     88                        _printString_(this->matrix[N*i+j] << " ");
    8989                }
    9090                _printLine_("");
  • issm/trunk-jpl/src/c/toolkits/issm/SeqVec.cpp

    r12511 r12520  
    6161        _printLine_("SeqVec size " << this->M);
    6262        for(i=0;i<M;i++){
    63                 _printString_("" << vector[i] << "\n ");
     63                _printString_(vector[i] << "\n ");
    6464        }
    6565}
  • issm/trunk-jpl/src/modules/Chaco/Chaco.cpp

    r12518 r12520  
    8484        _printLine_("nvtxs: " << nvtxs);
    8585        _printString_("options: [");
    86         for(i=0;i<10;i++)_printString_("" << options[i] << "|");
     86        for(i=0;i<10;i++)_printString_(options[i] << "|");
    8787        _printLine_("]");
    8888        _printLine_("start: ");
    89         for (i=0; i<nvtxs+1;i++)_printString_("" << start[i] << " ");
     89        for (i=0; i<nvtxs+1;i++)_printString_(start[i] << " ");
    9090        _printLine_("");
    9191        _printLine_("adjacency: ");
     
    9393        _printLine_("");
    9494        _printLine_("nedges: " << nedges << " " << ewgts);
    95         if(ewgts) for (i = 0; i < nedges; i++)_printString_("" << ewgts[i] << " ");
     95        if(ewgts) for (i = 0; i < nedges; i++)_printString_(ewgts[i] << " ");
    9696        _printLine_("");
    9797        _printLine_("vwgts:");
    98         for (i = 0; i < nvtxs; i++)_printString_("" << vwgts[i] << " ");
     98        for (i = 0; i < nvtxs; i++)_printString_(vwgts[i] << " ");
    9999        _printLine_("");
    100100        _printLine_("nparts: " << nparts[0]);
  • issm/trunk-jpl/src/modules/KMLOverlay/KMLOverlay.cpp

    r12518 r12520  
    8888                        }
    8989                if (verbose) _printLine_("Zipping file \"" << filkmz << "\".");
    90                 if (verbose) _printLine_("" << czip);
     90                if (verbose) _printLine_(czip);
    9191
    9292                if (mexEvalString(czip)) _error2_("Error zipping file \"" << filkmz << "\".");
Note: See TracChangeset for help on using the changeset viewer.