ENH: tet decomposed particle tracking.

Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
This commit is contained in:
graham
2010-09-17 16:59:17 +01:00
parent b329ea6f92
commit ebb9a9e1ac
237 changed files with 6947 additions and 2551 deletions

View File

@ -279,7 +279,11 @@ Foam::label Foam::meshRefinement::markFeatureRefinement
Cloud<trackedParticle> cloud(mesh_, IDLList<trackedParticle>());
// Create particles on whichever processor holds the keepPoint.
label cellI = mesh_.findCell(keepPoint);
label cellI = -1;
label tetFaceI = -1;
label tetPtI = -1;
cloud.findCellFacePt(keepPoint, cellI, tetFaceI, tetPtI);
if (cellI != -1)
{
@ -308,6 +312,8 @@ Foam::label Foam::meshRefinement::markFeatureRefinement
cloud,
keepPoint,
cellI,
tetFaceI,
tetPtI,
featureMesh.points()[pointI], // endpos
featureLevels[featI], // level
featI, // featureMesh