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

tan2 at geodynamics.org tan2 at geodynamics.org
Thu Sep 3 10:24:19 PDT 2009


Author: tan2
Date: 2009-09-03 10:24:19 -0700 (Thu, 03 Sep 2009)
New Revision: 15643

Modified:
   mc/3D/CitcomS/trunk/CitcomS/Solver/CoupledSolver.py
Log:
Added a warning message about tracer + coupling

Modified: mc/3D/CitcomS/trunk/CitcomS/Solver/CoupledSolver.py
===================================================================
--- mc/3D/CitcomS/trunk/CitcomS/Solver/CoupledSolver.py	2009-09-03 09:37:08 UTC (rev 15642)
+++ mc/3D/CitcomS/trunk/CitcomS/Solver/CoupledSolver.py	2009-09-03 17:24:19 UTC (rev 15643)
@@ -85,6 +85,9 @@
     def advectTracers(self):
         # override Solver.advectTracers, since tracer module
         # doesn't work in coupled run
+        if self.communicator.rank == 0:
+            import sys
+            sys.stderr.write('WARNING: CoupledSolver is incompatible with tracer advection. Tracer advection is disabled!!!\n')
         return
 
 



More information about the CIG-COMMITS mailing list