[cig-commits] r7758 - mc/3D/CitcomS/trunk/module/Exchanger
hlin at geodynamics.org
hlin at geodynamics.org
Fri Jul 27 16:33:49 PDT 2007
Author: hlin
Date: 2007-07-27 16:33:47 -0700 (Fri, 27 Jul 2007)
New Revision: 7758
Modified:
mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc
Log:
M Boundary.cc
fixed a bug on topbc
Modified: mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc
===================================================================
--- mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc 2007-07-26 23:42:17 UTC (rev 7757)
+++ mc/3D/CitcomS/trunk/module/Exchanger/Boundary.cc 2007-07-27 23:33:47 UTC (rev 7758)
@@ -46,7 +46,6 @@
{
journal::debug_t debug("CitcomS-Exchanger");
debug << journal::at(__HERE__) << journal::endl;
-
// boundary = all - interior
int maxNodes = E->lmesh.nno - (E->lmesh.nox-2)
* (E->lmesh.noy-2)
@@ -104,6 +103,8 @@
appendNode(E, node, normalFlag);
}
}
+ else
+ addSidewalls(E, itop, 1);
}
else
addSidewalls(E, itop, 0);
@@ -111,9 +112,8 @@
const int ibottom = 1;
- if(E->parallel.me_loc[3] == 0)
+ if(E->parallel.me_loc[3] == 0) {
if(!excludeBottom) {
-
for(int k=1; k<=E->lmesh.noy; k++)
for(int j=1; j<=E->lmesh.nox; j++) {
std::vector<int> normalFlag(Exchanger::DIM,0);
@@ -125,6 +125,7 @@
}
else
addSidewalls(E, ibottom, -1);
+ }
else
addSidewalls(E, ibottom, 0);
More information about the cig-commits
mailing list