[cig-commits] r13773 - cs/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Wed Dec 17 02:33:50 PST 2008


Author: luis
Date: 2008-12-17 02:33:49 -0800 (Wed, 17 Dec 2008)
New Revision: 13773

Modified:
   cs/cigma/trunk/src/core_writers.cpp
Log:
Assign default name to residuals dataset when writing to a VTK file

Modified: cs/cigma/trunk/src/core_writers.cpp
===================================================================
--- cs/cigma/trunk/src/core_writers.cpp	2008-12-17 10:33:47 UTC (rev 13772)
+++ cs/cigma/trunk/src/core_writers.cpp	2008-12-17 10:33:49 UTC (rev 13773)
@@ -261,6 +261,10 @@
         if (residuals->meshPart)
         {
             int i,j;
+            if (location == "")
+            {
+                location = "residuals";
+            }
 
             // coordinates first
             TRI_LOG_STR(">>> Writing vtk points");



More information about the CIG-COMMITS mailing list