[cig-commits] r5071 - mc/3D/CitcomS/trunk/CitcomS/Solver

tan2 at geodynamics.org tan2 at geodynamics.org
Fri Oct 20 12:00:27 PDT 2006


Author: tan2
Date: 2006-10-20 12:00:27 -0700 (Fri, 20 Oct 2006)
New Revision: 5071

Modified:
   mc/3D/CitcomS/trunk/CitcomS/Solver/Solver.py
Log:
* Removed extra output_time(), which was used for profiling
* Converted tab to 4 spaces


Modified: mc/3D/CitcomS/trunk/CitcomS/Solver/Solver.py
===================================================================
--- mc/3D/CitcomS/trunk/CitcomS/Solver/Solver.py	2006-10-20 18:39:09 UTC (rev 5070)
+++ mc/3D/CitcomS/trunk/CitcomS/Solver/Solver.py	2006-10-20 19:00:27 UTC (rev 5071)
@@ -39,7 +39,7 @@
 
         self.all_variables = None
         self.communicator = None
-	self.start_cpu_time = 0
+        self.start_cpu_time = 0
         return
 
 
@@ -70,15 +70,15 @@
 
         comm = application.solverCommunicator
         all_variables = citcom_init(comm.handle())
-	self.communicator = comm
+        self.communicator = comm
         self.all_variables = all_variables
 
         self.initializeSolver()
 
         # information about clock time
-	self.start_cpu_time = CPU_time()
+        self.start_cpu_time = CPU_time()
 
-	inv = self.inventory
+        inv = self.inventory
 
         inv.mesher.initialize(all_variables)
         inv.tsolver.initialize(all_variables)
@@ -205,7 +205,6 @@
     def save(self, monitoringFrequency):
         step = self.step
 
-        output_time(self.all_variables, step)
         # output spacing is 'monitoringFrequency'
         if not (step % monitoringFrequency):
             output(self.all_variables, step)
@@ -220,7 +219,7 @@
 
         Solver_set_properties(self.all_variables, self.inventory, stream)
 
-	inv = self.inventory
+        inv = self.inventory
         inv.mesher.setProperties(stream)
         inv.tsolver.setProperties(stream)
         inv.vsolver.setProperties(stream)



More information about the cig-commits mailing list