Changeset 12520
- Timestamp:
- 06/22/12 17:29:55 (13 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 58 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/DakotaResponsesx/DakotaResponsesx.cpp
r12511 r12520 111 111 if(my_rank==0){ 112 112 _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]); 115 115 _printLine_(""); 116 116 } -
issm/trunk-jpl/src/c/modules/Dakotax/SpawnCoreParallel.cpp
r12515 r12520 67 67 68 68 /*Determine solution sequence: */ 69 if(VerboseQmu()) _pprintLine_(" " << "Starting " << EnumToStringx(solution_type) << " core:");69 if(VerboseQmu()) _pprintLine_("Starting " << EnumToStringx(solution_type) << " core:"); 70 70 CorePointerFromSolutionEnum(&solutioncore,femmodel->parameters,solution_type); 71 71 #ifdef _HAVE_CONTROL_ -
issm/trunk-jpl/src/c/modules/HoleFillerx/HoleFillerx.cpp
r12511 r12520 277 277 278 278 #ifdef _DEBUG2_ 279 //_printLine_( "" <<temp << " " << elev << " " << range << " ");279 //_printLine_(temp << " " << elev << " " << range << " "); 280 280 #endif 281 281 -
issm/trunk-jpl/src/c/modules/KMLFileReadx/KMLFileReadx.cpp
r12519 r12520 43 43 } 44 44 45 // _pprintLine_( "" <<kstr);45 // _pprintLine_(kstr); 46 46 xDelete<char>(kstr); 47 47 } -
issm/trunk-jpl/src/c/modules/UpdateConstraintsx/UpdateConstraintsx.cpp
r12515 r12520 22 22 23 23 /*start module: */ 24 if(VerboseModule()) _pprintLine_(" " << "Updating constraints for time: " << time);24 if(VerboseModule()) _pprintLine_(" Updating constraints for time: " << time); 25 25 26 26 /*First, update dof constraints in nodes, using constraints: */ -
issm/trunk-jpl/src/c/objects/Bamg/Mesh.cpp
r12510 r12520 2374 2374 } 2375 2375 } 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 << "]"); 2377 2377 ta = Next(ta).Adj(); 2378 2378 if (count++>50) _error2_("Maximum number of iteration exceeded"); … … 4382 4382 || (bb=Area2( t[0].r , A.r , t[2].r )) < 0.0 4383 4383 || (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); 4385 4385 _error2_("Number of triangles with P2 interpolation Problem"); 4386 4386 } … … 4390 4390 || (bb=Area2( tt[0].r , A.r , tt[2].r )) < 0 4391 4391 || (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); 4393 4393 _error2_("Number of triangles with P2 interpolation Problem"); 4394 4394 } -
issm/trunk-jpl/src/c/objects/Constraints/SpcTransient.cpp
r12511 r12520 68 68 _printLine_(" steps|times|values"); 69 69 for(i=0;i<nsteps;i++){ 70 _printLine_( "" <<i << "-" << times[i] << ":" << values[i]);70 _printLine_(i << "-" << times[i] << ":" << values[i]); 71 71 } 72 72 return; -
issm/trunk-jpl/src/c/objects/ExternalResults/DoubleVecExternalResult.cpp
r12511 r12520 72 72 _printLine_(" vector size: " << this->M); 73 73 for(i=0;i<this->M;i++){ 74 _printLine_( "" <<i << " " << this->values[i]);74 _printLine_(i << " " << this->values[i]); 75 75 } 76 76 _printLine_(" step: " << this->step); -
issm/trunk-jpl/src/c/objects/Hook.cpp
r12508 r12520 79 79 _printLine_(" num=" << this->num); 80 80 _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] << " "); 82 82 _printLine_(""); 83 83 _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] << " "); 85 85 _printLine_(""); 86 86 } … … 98 98 _printLine_(" num=" << this->num); 99 99 _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] << " "); 101 101 _printLine_(""); 102 102 _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] << " "); 104 104 _printLine_(""); 105 105 if (!objects) _printLine_(" warning: object not hooked yet"); -
issm/trunk-jpl/src/c/objects/KML/KMLFileReadUtils.cpp
r12519 r12520 130 130 // else if (ifield) 131 131 // _pprintLine_("field buffer (length=" << ibuf << "):"); 132 // _pprintLine_( "" <<buffer);132 // _pprintLine_(buffer); 133 133 134 134 if (!ibuf) … … 194 194 195 195 // _pprintLine_("comment buffer (length=" << ibuf << "):"); 196 // _pprintLine_( "" <<buffer);196 // _pprintLine_(buffer); 197 197 198 198 if (!ibuf) -
issm/trunk-jpl/src/c/objects/KML/KML_Attribute.cpp
r12515 r12520 48 48 for (i=0;i<10-strlen(name);i++) 49 49 if(flag) _pprintString_(" "); 50 if(flag) _pprintLine_( "" <<name << ": \"" << value << "\"");50 if(flag) _pprintLine_(name << ": \"" << value << "\""); 51 51 52 52 return; … … 69 69 bool flag=true; 70 70 71 if(flag) _pprintString_( "" <<indent << " ");71 if(flag) _pprintString_(indent << " "); 72 72 for (i=0;i<10-strlen(name);i++) 73 73 if(flag) _pprintString_(" "); 74 if(flag) _pprintLine_( "" <<name << ": \"" << value << "\"");74 if(flag) _pprintLine_(name << ": \"" << value << "\""); 75 75 76 76 return; -
issm/trunk-jpl/src/c/objects/KML/KML_ColorStyle.cpp
r12515 r12520 68 68 KML_SubStyle::DeepEcho(indent); 69 69 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); 72 72 } 73 73 /*}}}*/ -
issm/trunk-jpl/src/c/objects/KML/KML_Comment.cpp
r12515 r12520 43 43 44 44 if(flag) _pprintString_(" "); 45 if(flag) _pprintLine_( "" <<value);45 if(flag) _pprintLine_(value); 46 46 47 47 return; … … 63 63 bool flag=true; 64 64 65 if(flag) _pprintString_( "" <<indent << " ");66 if(flag) _pprintLine_( "" <<value);65 if(flag) _pprintString_(indent << " "); 66 if(flag) _pprintLine_(value); 67 67 68 68 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Container.cpp
r12515 r12520 78 78 if (feature->Size()) 79 79 for (i=0; i<feature->Size(); i++) { 80 if(flag) _pprintLine_( "" <<indent << " feature: -------- begin [" << i << "] --------");80 if(flag) _pprintLine_(indent << " feature: -------- begin [" << i << "] --------"); 81 81 ((KML_Feature *)feature->GetObjectByOffset(i))->DeepEcho(indent2); 82 if(flag) _pprintLine_( "" <<indent << " feature: -------- end [" << i << "] --------");82 if(flag) _pprintLine_(indent << " feature: -------- end [" << i << "] --------"); 83 83 } 84 84 else 85 if(flag) _pprintLine_( "" <<indent << " feature: [empty]");85 if(flag) _pprintLine_(indent << " feature: [empty]"); 86 86 87 87 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Document.cpp
r12515 r12520 65 65 bool flag=true; 66 66 67 if(flag) _pprintLine_( "" <<indent << "KML_Document:");67 if(flag) _pprintLine_(indent << "KML_Document:"); 68 68 KML_Container::DeepEcho(indent); 69 69 -
issm/trunk-jpl/src/c/objects/KML/KML_Feature.cpp
r12515 r12520 84 84 KML_Object::DeepEcho(indent); 85 85 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 << "\""); 92 92 93 93 /* loop over any styles for the feature */ … … 98 98 if (style->Size()) 99 99 for (i=0; i<style->Size(); i++) { 100 if(flag) _pprintLine_( "" <<indent << " style: -------- begin [" << i << "] --------");100 if(flag) _pprintLine_(indent << " style: -------- begin [" << i << "] --------"); 101 101 ((KML_Style *)style->GetObjectByOffset(i))->DeepEcho(indent2); 102 if(flag) _pprintLine_( "" <<indent << " style: -------- end [" << i << "] --------");102 if(flag) _pprintLine_(indent << " style: -------- end [" << i << "] --------"); 103 103 } 104 104 else 105 if(flag) _pprintLine_( "" <<indent << " style: [empty]");105 if(flag) _pprintLine_(indent << " style: [empty]"); 106 106 107 107 return; -
issm/trunk-jpl/src/c/objects/KML/KML_File.cpp
r12515 r12520 63 63 bool flag=true; 64 64 65 if(flag) _pprintLine_( "" <<indent << "KML_File:");65 if(flag) _pprintLine_(indent << "KML_File:"); 66 66 KML_Object::DeepEcho(indent); 67 67 -
issm/trunk-jpl/src/c/objects/KML/KML_Folder.cpp
r12515 r12520 65 65 bool flag=true; 66 66 67 if(flag) _pprintLine_( "" <<indent << "KML_Folder:");67 if(flag) _pprintLine_(indent << "KML_Folder:"); 68 68 KML_Container::DeepEcho(indent); 69 69 -
issm/trunk-jpl/src/c/objects/KML/KML_Icon.cpp
r12515 r12520 79 79 bool flag=true; 80 80 81 if(flag) _pprintLine_( "" <<indent << "KML_Icon:");81 if(flag) _pprintLine_(indent << "KML_Icon:"); 82 82 KML_Object::DeepEcho(indent); 83 83 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 << "\""); 92 92 93 93 return; -
issm/trunk-jpl/src/c/objects/KML/KML_LineString.cpp
r12515 r12520 78 78 bool flag=true; 79 79 80 if(flag) _pprintLine_( "" <<indent << "KML_LineString:");80 if(flag) _pprintLine_(indent << "KML_LineString:"); 81 81 KML_Geometry::DeepEcho(indent); 82 82 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 << ")"); 87 87 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] << ")"); 89 89 90 90 return; -
issm/trunk-jpl/src/c/objects/KML/KML_LineStyle.cpp
r12515 r12520 66 66 bool flag=true; 67 67 68 if(flag) _pprintLine_( "" <<indent << "KML_LineStyle:");68 if(flag) _pprintLine_(indent << "KML_LineStyle:"); 69 69 KML_ColorStyle::DeepEcho(indent); 70 70 71 if(flag) _pprintLine_( "" <<indent << " width: " << width);71 if(flag) _pprintLine_(indent << " width: " << width); 72 72 73 73 return; -
issm/trunk-jpl/src/c/objects/KML/KML_LinearRing.cpp
r12515 r12520 78 78 bool flag=true; 79 79 80 if(flag) _pprintLine_( "" <<indent << "KML_LinearRing:");80 if(flag) _pprintLine_(indent << "KML_LinearRing:"); 81 81 KML_Geometry::DeepEcho(indent); 82 82 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 << ")"); 87 87 for (i=0; i<ncoord; i++) 88 88 _printf_(flag,"%s (%g,%g,%g)\n",indent, -
issm/trunk-jpl/src/c/objects/KML/KML_MultiGeometry.cpp
r12515 r12520 70 70 bool flag=true; 71 71 72 if(flag) _pprintLine_( "" <<indent << "KML_Multigeometry:");72 if(flag) _pprintLine_(indent << "KML_Multigeometry:"); 73 73 KML_Geometry::DeepEcho(indent); 74 74 … … 80 80 if (geometry->Size()) 81 81 for (i=0; i<geometry->Size(); i++) { 82 if(flag) _pprintLine_( "" <<indent << " geometry: -------- begin [" << i << "] --------");82 if(flag) _pprintLine_(indent << " geometry: -------- begin [" << i << "] --------"); 83 83 ((KML_Geometry *)geometry->GetObjectByOffset(i))->DeepEcho(indent2); 84 if(flag) _pprintLine_( "" <<indent << " geometry: -------- end [" << i << "] --------");84 if(flag) _pprintLine_(indent << " geometry: -------- end [" << i << "] --------"); 85 85 } 86 86 else 87 if(flag) _pprintLine_( "" <<indent << " geometry: [empty]");87 if(flag) _pprintLine_(indent << " geometry: [empty]"); 88 88 89 89 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Object.cpp
r12519 r12520 86 86 } 87 87 else 88 if(flag) _pprintLine_( "" <<indent << " attrib: [empty]");88 if(flag) _pprintLine_(indent << " attrib: [empty]"); 89 89 90 90 /* loop over the comments for the object */ … … 95 95 } 96 96 else 97 if(flag) _pprintLine_( "" <<indent << " commnt: [empty]");97 if(flag) _pprintLine_(indent << " commnt: [empty]"); 98 98 99 99 /* loop over the unknown objects for the object */ … … 104 104 if (kmlobj->Size()) 105 105 for (i=0; i<kmlobj->Size(); i++) { 106 if(flag) _pprintLine_( "" <<indent << " kmlobj: -------- begin [" << i << "] --------");106 if(flag) _pprintLine_(indent << " kmlobj: -------- begin [" << i << "] --------"); 107 107 ((KML_Unknown *)kmlobj->GetObjectByOffset(i))->DeepEcho(indent2); 108 if(flag) _pprintLine_( "" <<indent << " kmlobj: -------- end [" << i << "] --------");108 if(flag) _pprintLine_(indent << " kmlobj: -------- end [" << i << "] --------"); 109 109 } 110 110 else 111 if(flag) _pprintLine_( "" <<indent << " kmlobj: [empty]");111 if(flag) _pprintLine_(indent << " kmlobj: [empty]"); 112 112 113 113 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Overlay.cpp
r12515 r12520 72 72 strcat(indent2," "); 73 73 74 _pprintLine_( "" <<indent << " color: " << color);75 _pprintLine_( "" <<indent << " draword: " << draword);74 _pprintLine_(indent << " color: " << color); 75 _pprintLine_(indent << " draword: " << draword); 76 76 if (icon) 77 77 icon->DeepEcho(indent2); 78 78 else 79 _pprintLine_( "" <<indent << " icon: " << icon);79 _pprintLine_(indent << " icon: " << icon); 80 80 } 81 81 /*}}}*/ -
issm/trunk-jpl/src/c/objects/KML/KML_Placemark.cpp
r12515 r12520 70 70 bool flag=true; 71 71 72 if(flag) _pprintLine_( "" <<indent << "KML_Placemark:");72 if(flag) _pprintLine_(indent << "KML_Placemark:"); 73 73 KML_Feature::DeepEcho(indent); 74 74 … … 80 80 if (geometry->Size()) 81 81 for (i=0; i<geometry->Size(); i++) { 82 if(flag) _pprintLine_( "" <<indent << " geometry: -------- begin [" << i << "] --------");82 if(flag) _pprintLine_(indent << " geometry: -------- begin [" << i << "] --------"); 83 83 ((KML_Geometry *)geometry->GetObjectByOffset(i))->DeepEcho(indent2); 84 if(flag) _pprintLine_( "" <<indent << " geometry: -------- end [" << i << "] --------");84 if(flag) _pprintLine_(indent << " geometry: -------- end [" << i << "] --------"); 85 85 } 86 86 else 87 if(flag) _pprintLine_( "" <<indent << " geometry: [empty]");87 if(flag) _pprintLine_(indent << " geometry: [empty]"); 88 88 89 89 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Point.cpp
r12515 r12520 73 73 bool flag=true; 74 74 75 if(flag) _pprintLine_( "" <<indent << "KML_Point:");75 if(flag) _pprintLine_(indent << "KML_Point:"); 76 76 KML_Geometry::DeepEcho(indent); 77 77 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] << ")"); 81 81 82 82 return; -
issm/trunk-jpl/src/c/objects/KML/KML_PolyStyle.cpp
r12515 r12520 68 68 bool flag=true; 69 69 70 if(flag) _pprintLine_( "" <<indent << "KML_PolyStyle:");70 if(flag) _pprintLine_(indent << "KML_PolyStyle:"); 71 71 KML_ColorStyle::DeepEcho(indent); 72 72 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); 75 75 76 76 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Polygon.cpp
r12515 r12520 84 84 bool flag=true; 85 85 86 if(flag) _pprintLine_( "" <<indent << "KML_Polygon:");86 if(flag) _pprintLine_(indent << "KML_Polygon:"); 87 87 KML_Geometry::DeepEcho(indent); 88 88 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 << "\""); 92 92 93 93 memcpy(indent2,indent,(strlen(indent)+1)*sizeof(char)); … … 96 96 if (outer->Size()) 97 97 for (i=0; i<outer->Size(); i++) { 98 if(flag) _pprintLine_( "" <<indent << " outer: -------- begin [" << i << "] --------");98 if(flag) _pprintLine_(indent << " outer: -------- begin [" << i << "] --------"); 99 99 ((KML_LinearRing *)outer->GetObjectByOffset(i))->DeepEcho(indent2); 100 if(flag) _pprintLine_( "" <<indent << " outer: -------- end [" << i << "] --------");100 if(flag) _pprintLine_(indent << " outer: -------- end [" << i << "] --------"); 101 101 } 102 102 else 103 if(flag) _pprintLine_( "" <<indent << " outer: [empty]");103 if(flag) _pprintLine_(indent << " outer: [empty]"); 104 104 105 105 if (inner->Size()) 106 106 for (i=0; i<inner->Size(); i++) { 107 if(flag) _pprintLine_( "" <<indent << " inner: -------- begin [" << i << "] --------");107 if(flag) _pprintLine_(indent << " inner: -------- begin [" << i << "] --------"); 108 108 ((KML_LinearRing *)inner->GetObjectByOffset(i))->DeepEcho(indent2); 109 if(flag) _pprintLine_( "" <<indent << " inner: -------- end [" << i << "] --------");109 if(flag) _pprintLine_(indent << " inner: -------- end [" << i << "] --------"); 110 110 } 111 111 else 112 if(flag) _pprintLine_( "" <<indent << " inner: [empty]");112 if(flag) _pprintLine_(indent << " inner: [empty]"); 113 113 114 114 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Style.cpp
r12515 r12520 103 103 bool flag=true; 104 104 105 if(flag) _pprintLine_( "" <<indent << "KML_Style:");105 if(flag) _pprintLine_(indent << "KML_Style:"); 106 106 KML_StyleSelector::DeepEcho(indent); 107 107 … … 112 112 // icon->DeepEcho(indent2); 113 113 // else 114 if(flag) _pprintLine_( "" <<indent << " icon: " << icon);114 if(flag) _pprintLine_(indent << " icon: " << icon); 115 115 // if (label) 116 116 // label->DeepEcho(indent2); 117 117 // else 118 if(flag) _pprintLine_( "" <<indent << " label: " << label);118 if(flag) _pprintLine_(indent << " label: " << label); 119 119 if (line) 120 120 line->DeepEcho(indent2); 121 121 else 122 if(flag) _pprintLine_( "" <<indent << " line: " << line);122 if(flag) _pprintLine_(indent << " line: " << line); 123 123 if (poly) 124 124 poly->DeepEcho(indent2); 125 125 else 126 if(flag) _pprintLine_( "" <<indent << " poly: " << poly);126 if(flag) _pprintLine_(indent << " poly: " << poly); 127 127 // if (balloon) 128 128 // balloon->DeepEcho(indent2); 129 129 // else 130 if(flag) _pprintLine_( "" <<indent << " balloon: " << balloon);130 if(flag) _pprintLine_(indent << " balloon: " << balloon); 131 131 // if (list) 132 132 // list->DeepEcho(indent2); 133 133 // else 134 if(flag) _pprintLine_( "" <<indent << " list: " << list);134 if(flag) _pprintLine_(indent << " list: " << list); 135 135 136 136 return; -
issm/trunk-jpl/src/c/objects/KML/KML_Unknown.cpp
r12519 r12520 73 73 bool flag=true; 74 74 75 if(flag) _pprintLine_( "" <<indent << "KML_Unknown " << name << ":");75 if(flag) _pprintLine_(indent << "KML_Unknown " << name << ":"); 76 76 KML_Object::DeepEcho(indent); 77 77 … … 81 81 82 82 vtoken=strtok(valuei,nl); 83 if(flag) _pprintString_( "" <<indent << " value: \"" << vtoken);83 if(flag) _pprintString_(indent << " value: \"" << vtoken); 84 84 85 85 while (vtoken=strtok(NULL,nl)) … … 90 90 } 91 91 else 92 if(flag) _pprintLine_( "" <<indent << " value: [none]");92 if(flag) _pprintLine_(indent << " value: [none]"); 93 93 94 94 return; -
issm/trunk-jpl/src/c/objects/Numerics/Matrix.cpp
r12511 r12520 133 133 for(i=0;i<M;i++){ 134 134 for(j=0;j<N;j++){ 135 _printString_( "" <<*(amatrix+N*i+j) << " ");135 _printString_(*(amatrix+N*i+j) << " "); 136 136 } 137 137 _printLine_(""); -
issm/trunk-jpl/src/c/objects/Options/Option.cpp
r12515 r12520 73 73 bool flag=true; 74 74 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); 78 78 if(size){ 79 79 StringFromSize(cstr,size,ndims); 80 if(flag) _pprintLine_( "" <<indent << " size: " << cstr);80 if(flag) _pprintLine_(indent << " size: " << cstr); 81 81 } 82 else if(flag) _pprintLine_( "" <<indent << " size: [empty]");82 else if(flag) _pprintLine_(indent << " size: [empty]"); 83 83 } 84 84 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Options/OptionCell.cpp
r12515 r12520 75 75 bool flag=true; 76 76 77 if(flag) _pprintLine_( "" <<indent << "OptionCell DeepEcho:");77 if(flag) _pprintLine_(indent << "OptionCell DeepEcho:"); 78 78 Option::DeepEcho(indent); 79 79 … … 86 86 ColumnWiseDimsFromIndex(dims,i,size,ndims); 87 87 StringFromDims(cstr,dims,ndims); 88 if(flag) _pprintLine_( "" <<indent << " values: -------- begin " << cstr << " --------");88 if(flag) _pprintLine_(indent << " values: -------- begin " << cstr << " --------"); 89 89 ((Option *)values->GetObjectByOffset(i))->DeepEcho(indent2); 90 if(flag) _pprintLine_( "" <<indent << " values: -------- end " << cstr << " --------");90 if(flag) _pprintLine_(indent << " values: -------- end " << cstr << " --------"); 91 91 } 92 92 xDelete<int>(dims); 93 93 } 94 else if(flag) _pprintLine_( "" <<indent << " values: [empty]");94 else if(flag) _pprintLine_(indent << " values: [empty]"); 95 95 } 96 96 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Options/OptionChar.cpp
r12515 r12520 79 79 bool flag=true; 80 80 81 if(flag) _pprintLine_( "" <<indent << "OptionChar DeepEcho:");81 if(flag) _pprintLine_(indent << "OptionChar DeepEcho:"); 82 82 Option::DeepEcho(indent); 83 83 … … 87 87 if (values) { 88 88 if (ndims == 2 && size[0] == 1) { 89 if(flag) _pprintLine_( "" <<indent << " values: \"" << values << "\"");89 if(flag) _pprintLine_(indent << " values: \"" << values << "\""); 90 90 } 91 91 else { … … 97 97 RowWiseDimsFromIndex(dims,ipt,size,ndims); 98 98 StringFromDims(cstr,dims,ndims); 99 if(flag) _pprintLine_( "" <<indent << " values" << cstr << ": \"" << size[1] << "*s\"");99 if(flag) _pprintLine_(indent << " values" << cstr << ": \"" << size[1] << "*s\""); 100 100 ipt+=size[1]; 101 101 } … … 103 103 } 104 104 } 105 else if(flag) _pprintLine_( "" <<indent << " values: [empty]");105 else if(flag) _pprintLine_(indent << " values: [empty]"); 106 106 } 107 107 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Options/OptionDouble.cpp
r12515 r12520 75 75 bool flag=true; 76 76 77 if(flag) _pprintLine_( "" <<indent << "OptionDouble DeepEcho:");77 if(flag) _pprintLine_(indent << "OptionDouble DeepEcho:"); 78 78 Option::DeepEcho(indent); 79 79 … … 83 83 if (values) { 84 84 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]); 86 86 else{ 87 87 for (i=0; i<numel; i++) { 88 88 RowWiseDimsFromIndex(dims,i,size,ndims); 89 89 StringFromDims(cstr,dims,ndims); 90 if(flag) _pprintLine_( "" <<indent << " values" << cstr << ": " << values[i]);90 if(flag) _pprintLine_(indent << " values" << cstr << ": " << values[i]); 91 91 } 92 92 } 93 93 xDelete<int>(dims); 94 94 } 95 else if(flag) _pprintLine_( "" <<indent << " values: [empty]");95 else if(flag) _pprintLine_(indent << " values: [empty]"); 96 96 } 97 97 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Options/OptionLogical.cpp
r12515 r12520 75 75 bool flag=true; 76 76 77 if(flag) _pprintLine_( "" <<indent << "OptionLogical DeepEcho:");77 if(flag) _pprintLine_(indent << "OptionLogical DeepEcho:"); 78 78 Option::DeepEcho(indent); 79 79 … … 82 82 83 83 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")); 85 85 else{ 86 86 dims=xNew<int>(ndims); … … 88 88 RowWiseDimsFromIndex(dims,i,size,ndims); 89 89 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")); 91 91 } 92 92 xDelete<int>(dims); 93 93 } 94 94 } 95 else if(flag) _pprintLine_( "" <<indent << " values: [empty]");95 else if(flag) _pprintLine_(indent << " values: [empty]"); 96 96 } 97 97 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Options/OptionStruct.cpp
r12515 r12520 80 80 bool flag=true; 81 81 82 if(flag) _pprintLine_( "" <<indent << "OptionStruct DeepEcho:");82 if(flag) _pprintLine_(indent << "OptionStruct DeepEcho:"); 83 83 Option::DeepEcho(indent); 84 84 … … 92 92 StringFromDims(cstr,dims,ndims); 93 93 if (values[i]->Size()){ 94 if(flag) _pprintLine_( "" <<indent << " values: -------- begin " << cstr << " --------");94 if(flag) _pprintLine_(indent << " values: -------- begin " << cstr << " --------"); 95 95 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 << " --------"); 97 97 } 98 else if(flag) _pprintLine_( "" <<indent << " values: " << cstr << " [empty]");98 else if(flag) _pprintLine_(indent << " values: " << cstr << " [empty]"); 99 99 } 100 100 xDelete<int>(dims); 101 101 } 102 else if(flag) _pprintLine_( "" <<indent << " values: [empty]");102 else if(flag) _pprintLine_(indent << " values: [empty]"); 103 103 } 104 104 /*}}}*/ -
issm/trunk-jpl/src/c/objects/Params/DoubleMatArrayParam.cpp
r12511 r12520 112 112 for(j=0;j<m;j++){ 113 113 _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) << " "); 115 115 _printLine_(""); 116 116 } -
issm/trunk-jpl/src/c/objects/Params/DoubleMatParam.cpp
r12511 r12520 64 64 for(i=0;i<this->M;i++){ 65 65 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)); 67 67 } 68 68 } -
issm/trunk-jpl/src/c/objects/Params/DoubleVecParam.cpp
r12511 r12520 62 62 _printLine_(" vector size: " << this->M); 63 63 for(i=0;i<this->M;i++){ 64 _printLine_( "" <<i << " " << this->values[i]);64 _printLine_(i << " " << this->values[i]); 65 65 } 66 66 } -
issm/trunk-jpl/src/c/objects/Params/IntVecParam.cpp
r12511 r12520 78 78 _printLine_(" vector size: " << this->M); 79 79 for(i=0;i<this->M;i++){ 80 _printLine_( "" <<i << " " << this->values[i]);80 _printLine_(i << " " << this->values[i]); 81 81 } 82 82 } -
issm/trunk-jpl/src/c/shared/Exceptions/Exceptions.cpp
r12511 r12520 44 44 45 45 if (function_name=="" || file_line==0){ //WINDOWS 46 _printString_(" " << "Error message: " << what());46 _printString_("Error message: " << what()); 47 47 } 48 48 else{ 49 49 if(num_procs==1){ 50 50 _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"); 52 52 } 53 53 else{ -
issm/trunk-jpl/src/c/solutions/ResetBoundaryConditions.cpp
r12515 r12520 15 15 int i; 16 16 17 if(VerboseSolution()) _pprintLine_(" " << "updating boundary conditions...");17 if(VerboseSolution()) _pprintLine_(" updating boundary conditions..."); 18 18 19 19 /*set current analysis: */ -
issm/trunk-jpl/src/c/solutions/adjointbalancethickness_core.cpp
r12515 r12520 22 22 23 23 /*compute thickness */ 24 if(VerboseSolution()) _pprintLine_(" " << "computing thickness");24 if(VerboseSolution()) _pprintLine_(" computing thickness"); 25 25 femmodel->SetCurrentConfiguration(BalancethicknessAnalysisEnum); 26 26 solver_linear(femmodel); … … 30 30 31 31 /*compute adjoint*/ 32 if(VerboseSolution()) _pprintLine_(" " << "computing adjoint");32 if(VerboseSolution()) _pprintLine_(" computing adjoint"); 33 33 femmodel->SetCurrentConfiguration(BalancethicknessAnalysisEnum,AdjointBalancethicknessAnalysisEnum); 34 34 solver_adjoint_linear(femmodel); -
issm/trunk-jpl/src/c/solutions/adjointdiagnostic_core.cpp
r12515 r12520 25 25 26 26 /*Compute velocities*/ 27 if(VerboseSolution()) _pprintLine_(" " << "computing velocities");27 if(VerboseSolution()) _pprintLine_(" computing velocities"); 28 28 femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum); 29 29 solver_nonlinear(femmodel,conserve_loads); … … 33 33 34 34 /*Compute adjoint*/ 35 if(VerboseSolution()) _pprintLine_(" " << "computing adjoint");35 if(VerboseSolution()) _pprintLine_(" computing adjoint"); 36 36 femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum,AdjointHorizAnalysisEnum); 37 37 solver_adjoint_linear(femmodel); -
issm/trunk-jpl/src/c/solutions/bedslope_core.cpp
r12515 r12520 19 19 femmodel->parameters->FindParam(&save_results,SaveResultsEnum); 20 20 21 if(VerboseSolution()) _pprintLine_(" " << "computing slope");21 if(VerboseSolution()) _pprintLine_(" computing slope"); 22 22 23 23 /*Call on core computations: */ -
issm/trunk-jpl/src/c/solutions/control_core.cpp
r12515 r12520 66 66 67 67 /*Launch once a complete solution to set up all inputs*/ 68 if(VerboseControl()) _pprintLine_(" " << "preparing initial solution");68 if(VerboseControl()) _pprintLine_(" preparing initial solution"); 69 69 if(isstokes) solutioncore(femmodel); 70 70 … … 88 88 if(solution_type==SteadystateSolutionEnum) solutioncore(femmodel); 89 89 90 if(VerboseControl()) _pprintLine_(" " << "compute adjoint state:");90 if(VerboseControl()) _pprintLine_(" compute adjoint state:"); 91 91 adjointcore(femmodel); 92 92 gradient_core(femmodel,n,search_scalar==0); … … 98 98 } 99 99 100 if(VerboseControl()) _pprintLine_(" " << "optimizing along gradient direction");100 if(VerboseControl()) _pprintLine_(" optimizing along gradient direction"); 101 101 optpars.maxiter=(int)maxiter[n]; optpars.cm_jump=cm_jump[n]; 102 102 BrentSearch(&search_scalar,J+n,&optpars,&objectivefunction,&optargs); 103 103 104 if(VerboseControl()) _pprintLine_(" " << "updating parameter using optimized search scalar"); //true means update save controls104 if(VerboseControl()) _pprintLine_(" updating parameter using optimized search scalar"); //true means update save controls 105 105 InputControlUpdatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,search_scalar,true); 106 106 … … 108 108 } 109 109 110 if(VerboseControl()) _pprintLine_(" " << "preparing final solution");110 if(VerboseControl()) _pprintLine_(" preparing final solution"); 111 111 femmodel->parameters->SetParam(true,SaveResultsEnum); 112 112 solutioncore(femmodel); -
issm/trunk-jpl/src/c/solutions/controltao_core.cpp
r12519 r12520 54 54 /*Initialize TAO*/ 55 55 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)"); 57 57 TaoSetFromOptions(tao); 58 58 TaoSetType(tao,"tao_blmvm"); … … 78 78 79 79 /*Solver optimization problem*/ 80 if(VerboseControl()) _pprintLine_(" " << "Starting optimization");80 if(VerboseControl()) _pprintLine_(" Starting optimization"); 81 81 TaoSolve(tao); 82 82 TaoView(tao,PETSC_VIEWER_STDOUT_WORLD); … … 88 88 89 89 /*Finalize*/ 90 if(VerboseControl()) _pprintLine_(" " << "preparing final solution");90 if(VerboseControl()) _pprintLine_(" preparing final solution"); 91 91 femmodel->parameters->SetParam(true,SaveResultsEnum); 92 92 void (*solutioncore)(FemModel*)=NULL; -
issm/trunk-jpl/src/c/solutions/convergence.cpp
r12519 r12520 81 81 //print 82 82 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 << " %"); 84 84 converged=true; 85 85 } 86 86 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 << " %"); 88 88 converged=false; 89 89 } … … 104 104 if (!isnan(eps_rel)){ 105 105 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 << " %"); 107 107 } 108 108 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 << " %"); 110 110 converged=false; 111 111 } 112 112 } 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 << " %"); 114 114 115 115 } … … 129 129 if (!isnan(eps_abs)){ 130 130 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"); 132 132 } 133 133 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"); 135 135 converged=false; 136 136 } 137 137 } 138 else _pprintLine_(" " << "Convergence criterion: max(du)" << "50s" << nduinf*yts << " m/yr");138 else _pprintLine_(" Convergence criterion: max(du)" << "50s" << nduinf*yts << " m/yr"); 139 139 140 140 } -
issm/trunk-jpl/src/c/solutions/diagnostic_core.cpp
r12515 r12520 59 59 if(ishutter){ 60 60 61 if(VerboseSolution()) _pprintLine_(" " << "computing hutter velocities");61 if(VerboseSolution()) _pprintLine_(" computing hutter velocities"); 62 62 63 63 //Take the last velocity into account so that the velocity on the MacAyeal domain is not zero … … 72 72 if (ismacayealpattyn ^ isstokes){ // ^ = xor 73 73 74 if(VerboseSolution()) _pprintLine_(" " << "computing velocities");74 if(VerboseSolution()) _pprintLine_(" computing velocities"); 75 75 femmodel->SetCurrentConfiguration(DiagnosticHorizAnalysisEnum); 76 76 if(isnewton) … … 82 82 if (ismacayealpattyn && isstokes){ 83 83 84 if(VerboseSolution()) _pprintLine_(" " << "computing coupling macayealpattyn and stokes velocities and pressure ");84 if(VerboseSolution()) _pprintLine_(" computing coupling macayealpattyn and stokes velocities and pressure "); 85 85 solver_stokescoupling_nonlinear(femmodel,conserve_loads); 86 86 } … … 88 88 if (dim==3 & (ishutter || ismacayealpattyn)){ 89 89 90 if(VerboseSolution()) _pprintLine_(" " << "computing vertical velocities");90 if(VerboseSolution()) _pprintLine_(" computing vertical velocities"); 91 91 femmodel->SetCurrentConfiguration(DiagnosticVertAnalysisEnum); 92 92 solver_linear(femmodel); -
issm/trunk-jpl/src/c/solutions/steadystate_core.cpp
r12515 r12520 55 55 #endif 56 56 57 if(VerboseSolution()) _pprintLine_(" " << "computing new velocity");57 if(VerboseSolution()) _pprintLine_(" computing new velocity"); 58 58 diagnostic_core(femmodel); 59 59 60 60 if (step>1){ 61 if(VerboseSolution()) _pprintLine_(" " << "checking velocity, temperature and pressure convergence");61 if(VerboseSolution()) _pprintLine_(" checking velocity, temperature and pressure convergence"); 62 62 if(steadystateconvergence(femmodel)) break; 63 63 } 64 64 if(step>maxiter){ 65 if(VerboseSolution()) _pprintLine_(" " << "maximum number steadystate iterations " << maxiter << " reached");65 if(VerboseSolution()) _pprintLine_(" maximum number steadystate iterations " << maxiter << " reached"); 66 66 break; 67 67 } 68 68 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"); 70 70 InputDuplicatex(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,VxEnum,VxPicardEnum); 71 71 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 19 19 femmodel->parameters->FindParam(&save_results,SaveResultsEnum); 20 20 21 if(VerboseSolution()) _pprintLine_(" " << "computing slope...");21 if(VerboseSolution()) _pprintLine_("computing slope..."); 22 22 23 23 /*Call on core computations: */ -
issm/trunk-jpl/src/c/solvers/solver_thermal_nonlinear.cpp
r12519 r12520 47 47 converged=false; 48 48 49 if(VerboseSolution()) _pprintLine_(" " << "starting direct shooting method");49 if(VerboseSolution()) _pprintLine_("starting direct shooting method"); 50 50 InputUpdateFromConstantx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,true,ResetPenaltiesEnum); 51 51 InputUpdateFromConstantx(femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters,false,ConvergedEnum); … … 66 66 67 67 if (!converged){ 68 if(VerboseConvergence()) _pprintLine_(" " << "#unstable constraints = " << num_unstable_constraints);68 if(VerboseConvergence()) _pprintLine_(" #unstable constraints = " << num_unstable_constraints); 69 69 if (num_unstable_constraints <= thermal_penalty_threshold)converged=true; 70 70 if (count>=thermal_maxiter){ -
issm/trunk-jpl/src/c/toolkits/issm/SeqMat.cpp
r12511 r12520 86 86 for(i=0;i<M;i++){ 87 87 for(j=0;j<N;j++){ 88 _printString_( "" <<this->matrix[N*i+j] << " ");88 _printString_(this->matrix[N*i+j] << " "); 89 89 } 90 90 _printLine_(""); -
issm/trunk-jpl/src/c/toolkits/issm/SeqVec.cpp
r12511 r12520 61 61 _printLine_("SeqVec size " << this->M); 62 62 for(i=0;i<M;i++){ 63 _printString_( "" <<vector[i] << "\n ");63 _printString_(vector[i] << "\n "); 64 64 } 65 65 } -
issm/trunk-jpl/src/modules/Chaco/Chaco.cpp
r12518 r12520 84 84 _printLine_("nvtxs: " << nvtxs); 85 85 _printString_("options: ["); 86 for(i=0;i<10;i++)_printString_( "" <<options[i] << "|");86 for(i=0;i<10;i++)_printString_(options[i] << "|"); 87 87 _printLine_("]"); 88 88 _printLine_("start: "); 89 for (i=0; i<nvtxs+1;i++)_printString_( "" <<start[i] << " ");89 for (i=0; i<nvtxs+1;i++)_printString_(start[i] << " "); 90 90 _printLine_(""); 91 91 _printLine_("adjacency: "); … … 93 93 _printLine_(""); 94 94 _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] << " "); 96 96 _printLine_(""); 97 97 _printLine_("vwgts:"); 98 for (i = 0; i < nvtxs; i++)_printString_( "" <<vwgts[i] << " ");98 for (i = 0; i < nvtxs; i++)_printString_(vwgts[i] << " "); 99 99 _printLine_(""); 100 100 _printLine_("nparts: " << nparts[0]); -
issm/trunk-jpl/src/modules/KMLOverlay/KMLOverlay.cpp
r12518 r12520 88 88 } 89 89 if (verbose) _printLine_("Zipping file \"" << filkmz << "\"."); 90 if (verbose) _printLine_( "" <<czip);90 if (verbose) _printLine_(czip); 91 91 92 92 if (mexEvalString(czip)) _error2_("Error zipping file \"" << filkmz << "\".");
Note:
See TracChangeset
for help on using the changeset viewer.