snappyHexMesh: Feature line tracking should end on AMI patches

This commit is contained in:
Will Bainbridge
2017-05-04 18:25:03 +01:00
committed by Andrew Heather
parent f96db2d600
commit 4059dbd6ce
2 changed files with 20 additions and 0 deletions

View File

@ -205,6 +205,18 @@ void Foam::trackedParticle::hitCyclicPatch
}
void Foam::trackedParticle::hitCyclicAMIPatch
(
const cyclicAMIPolyPatch&,
trackingData& td,
const vector&
)
{
// Remove particle
td.keepParticle = false;
}
void Foam::trackedParticle::hitProcessorPatch
(
const processorPolyPatch&,

View File

@ -284,6 +284,14 @@ public:
trackingData& td
);
//- Overridable function to handle the particle hitting a cyclicAMI
void hitCyclicAMIPatch
(
const cyclicAMIPolyPatch&,
trackingData& td,
const vector&
);
//- Overridable function to handle the particle hitting a
//- processorPatch
void hitProcessorPatch