mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to commit e7cb5bcf0315c359539ef1e715e1d51991343391
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user