[cig-commits] r8098 - mc/3D/CitcomS/trunk/CitcomS/Coupler

tan2 at geodynamics.org tan2 at geodynamics.org
Wed Oct 10 14:00:14 PDT 2007


Author: tan2
Date: 2007-10-10 14:00:13 -0700 (Wed, 10 Oct 2007)
New Revision: 8098

Modified:
   mc/3D/CitcomS/trunk/CitcomS/Coupler/Coupler.py
Log:
 Add an assertion

Modified: mc/3D/CitcomS/trunk/CitcomS/Coupler/Coupler.py
===================================================================
--- mc/3D/CitcomS/trunk/CitcomS/Coupler/Coupler.py	2007-10-10 20:29:13 UTC (rev 8097)
+++ mc/3D/CitcomS/trunk/CitcomS/Coupler/Coupler.py	2007-10-10 21:00:13 UTC (rev 8098)
@@ -55,6 +55,11 @@
         assert solver.inventory.tsolver.inventory.monitor_max_T == False, \
                'Error: solver.tsolver.monitor_max_T must be off!'
 
+        # the exchanger doesn't know how to apply boundary conditions
+        # for the multigrid solver
+        assert solver.inventory.vsolver.inventory.Solver == "cgrad", \
+               'Error: solver.vsolver.Solver must be "cgrad"'
+
         self.communicator = solver.communicator
         self.srcCommList = solver.myPlus
 



More information about the cig-commits mailing list