diff --git a/src/lagrangian/basic/InteractionLists/InteractionLists.C b/src/lagrangian/basic/InteractionLists/InteractionLists.C index cfa317274e..e1f9084ba0 100644 --- a/src/lagrangian/basic/InteractionLists/InteractionLists.C +++ b/src/lagrangian/basic/InteractionLists/InteractionLists.C @@ -398,6 +398,7 @@ Foam::InteractionLists::InteractionLists globalTransforms_(mesh_), maxDistance_(maxDistance), dil_(), + directWallFaces_(), ril_(), rilInverse_(), cellIndexAndTransformToDistribute_(), @@ -409,7 +410,7 @@ Foam::InteractionLists::InteractionLists const vector interactionVec = maxDistance_*vector::one; - treeBoundBox procBb(treeBoundBox(mesh.points())); + treeBoundBox procBb(treeBoundBox(mesh_.points())); treeBoundBox extendedProcBb ( @@ -439,16 +440,16 @@ Foam::InteractionLists::InteractionLists extendedProcBbsOrigProc ); - treeBoundBoxList cellBbs(mesh.nCells()); + treeBoundBoxList cellBbs(mesh_.nCells()); forAll(cellBbs, cellI) { cellBbs[cellI] = treeBoundBox ( - mesh.cells()[cellI].points + mesh_.cells()[cellI].points ( - mesh.faces(), - mesh.points() + mesh_.faces(), + mesh_.points() ) ); } @@ -456,7 +457,7 @@ Foam::InteractionLists::InteractionLists // Recording which cells are in range of an extended boundBox, as // only these cells will need to be tested to determine which // referred cells that they interact with. - PackedBoolList cellInRangeOfCoupledPatch(mesh.nCells(), false); + PackedBoolList cellInRangeOfCoupledPatch(mesh_.nCells(), false); // IAndT: index and transform DynamicList globalIAndTToExchange; @@ -518,11 +519,14 @@ Foam::InteractionLists::InteractionLists } } - treeBoundBox procBbRndExt(treeBoundBox(mesh.points()).extend(rndGen, 1e-4)); + treeBoundBox procBbRndExt + ( + treeBoundBox(mesh_.points()).extend(rndGen, 1e-4) + ); indexedOctree coupledPatchRangeTree ( - treeDataCell(true, mesh, coupledPatchRangeCells), + treeDataCell(true, mesh_, coupledPatchRangeCells), procBbRndExt, 8, // maxLevel, 10, // leafSize, @@ -632,7 +636,7 @@ Foam::InteractionLists::InteractionLists // Determine inverse addressing for referred cells - rilInverse_.setSize(mesh.nCells()); + rilInverse_.setSize(mesh_.nCells()); // Temporary Dynamic lists for accumulation List > rilInverseTemp(rilInverse_.size()); @@ -663,14 +667,14 @@ Foam::InteractionLists::InteractionLists indexedOctree allCellsTree ( - treeDataCell(true, mesh), + treeDataCell(true, mesh_), procBbRndExt, 8, // maxLevel, 10, // leafSize, 100.0 ); - dil_.setSize(mesh.nCells()); + dil_.setSize(mesh_.nCells()); forAll(cellBbs, cellI) { @@ -711,6 +715,95 @@ Foam::InteractionLists::InteractionLists dil_[cellI].transfer(cellDIL); } + + // Direct wall faces + + // DynamicLists for data gathering + DynamicList