Updated tolerance handling

This commit is contained in:
Hrvoje Jasak 2018-12-04 12:26:19 +00:00
parent 1b8d7cbce7
commit 50710e0253
2 changed files with 17 additions and 0 deletions

View file

@ -43,6 +43,16 @@ namespace Foam
}
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
const Foam::debug::optimisationSwitch
Foam::faceOnlySet::maxNSteps_
(
"maximumFaceOnlySetStepNumber",
100
);
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //

View file

@ -63,6 +63,13 @@ class faceOnlySet
point end_;
// Static data
//- Maximum number of steps for intersection search. Introduced to avoid
// inifinite loops (IG 4/Dec/2018)
static const debug::optimisationSwitch maxNSteps_;
// Private Member Functions
//- Samples from startTrackPt/CellI. Updates particle/samplePt/sampleI