snappyHexMesh: Feature line tracking should end on AMI patches

This commit is contained in:
Will Bainbridge
2017-05-04 18:25:03 +01:00
parent d26c6c342b
commit 53d3d6fb6f
2 changed files with 20 additions and 0 deletions

View File

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

View File

@ -284,6 +284,14 @@ public:
trackingData& td 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 //- Overridable function to handle the particle hitting a
//- processorPatch //- processorPatch
void hitProcessorPatch void hitProcessorPatch