mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-2.0
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -65,7 +65,7 @@ public:
|
||||
//- Construct null
|
||||
pointHitSort()
|
||||
:
|
||||
inter_(false, vector::zero, GREAT),
|
||||
inter_(false, vector::zero, GREAT, false),
|
||||
index_(-1)
|
||||
{}
|
||||
|
||||
@ -96,9 +96,9 @@ public:
|
||||
return inter_.distance() == rhs.inter().distance();
|
||||
}
|
||||
|
||||
bool operator>(const pointHitSort& rhs) const
|
||||
bool operator<(const pointHitSort& rhs) const
|
||||
{
|
||||
return inter_.distance() > rhs.inter().distance();
|
||||
return inter_.distance() < rhs.inter().distance();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user