[cig-commits] r8109 - mc/3D/CitcomS/trunk/module/Exchanger
tan2 at geodynamics.org
tan2 at geodynamics.org
Fri Oct 12 13:23:53 PDT 2007
Author: tan2
Date: 2007-10-12 13:23:53 -0700 (Fri, 12 Oct 2007)
New Revision: 8109
Modified:
mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc
Log:
Boundary class is for regional model only, add a checking for it.
Modified: mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc
===================================================================
--- mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc 2007-10-12 18:21:59 UTC (rev 8108)
+++ mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc 2007-10-12 20:23:53 UTC (rev 8109)
@@ -55,7 +55,14 @@
normal_.reserve(maxNodes);
// find out which nodes belong to the boundary and fill X_ with them
- initX(E, excludeTop, excludeBottom);
+ // XXX: only implemented for regional model
+ if (E->parallel.nprocxy == 1)
+ initX(E, excludeTop, excludeBottom);
+ else {
+ journal::error_t error("CitcomS-Boundary");
+ error << "Boundary is not implemented for full solver (yet)."
+ << journal::endl;
+ }
// define the tight bounding box of the boundary
initBBox(E);
More information about the cig-commits
mailing list