mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: setter/getter for octree permutation tolerance
- make template invariant
This commit is contained in:
committed by
Andrew Heather
parent
3d7dc6a870
commit
b8d01a88ea
@ -31,11 +31,6 @@ License
|
||||
#include "OFstream.H"
|
||||
#include "ListOps.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
Foam::scalar Foam::dynamicIndexedOctree<Type>::perturbTol_ = 10*SMALL;
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
@ -2046,13 +2041,6 @@ Foam::dynamicIndexedOctree<Type>::dynamicIndexedOctree
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
Foam::scalar& Foam::dynamicIndexedOctree<Type>::perturbTol()
|
||||
{
|
||||
return perturbTol_;
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
Foam::pointIndexHit Foam::dynamicIndexedOctree<Type>::findNearest
|
||||
(
|
||||
|
||||
@ -89,15 +89,6 @@ class dynamicIndexedOctree
|
||||
:
|
||||
public dynamicIndexedOctreeBase
|
||||
{
|
||||
// Static data
|
||||
|
||||
//- Relative perturbation tolerance. Determines when point is
|
||||
// considered to be close to face/edge of bb of node.
|
||||
// The tolerance is relative to the bounding box of the smallest
|
||||
// node.
|
||||
static scalar perturbTol_;
|
||||
|
||||
|
||||
// Private Data
|
||||
|
||||
//- Underlying shapes for geometric queries.
|
||||
@ -333,10 +324,6 @@ class dynamicIndexedOctree
|
||||
|
||||
public:
|
||||
|
||||
//- Get the perturbation tolerance
|
||||
static scalar& perturbTol();
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from shapes
|
||||
|
||||
Reference in New Issue
Block a user