yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11464
[Branch ~yade-pkg/yade/git-trunk] Rev 3459: no indexing of blocked cells in PFV
------------------------------------------------------------
revno: 3459
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Thu 2014-10-09 22:34:42 +0200
message:
no indexing of blocked cells in PFV
modified:
lib/triangulation/FlowBoundingSphereLinSolv.ipp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/triangulation/FlowBoundingSphereLinSolv.ipp'
--- lib/triangulation/FlowBoundingSphereLinSolv.ipp 2014-10-07 18:41:54 +0000
+++ lib/triangulation/FlowBoundingSphereLinSolv.ipp 2014-10-09 20:34:42 +0000
@@ -207,7 +207,7 @@
neighbourCell = cell->neighbor(j);
nIndex=neighbourCell->info().index;
if (Tri.is_infinite(neighbourCell)) continue;
- if (!isLinearSystemSet && !neighbourCell->info().Pcondition) {
+ if (!isLinearSystemSet && !(neighbourCell->info().Pcondition || neighbourCell->info().blocked)) {
if (nIndex==0) {
T_cells[++T_index]=neighbourCell;
neighbourCell->info().index=nIndex=T_index;