mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: localPointRegion: faces are duplicate only if sizes equal
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -70,6 +70,11 @@ bool Foam::localPointRegion::isDuplicate
|
||||
const bool forward
|
||||
)
|
||||
{
|
||||
if (f0.size() != f1.size())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
label fp1 = findIndex(f1, f0[0]);
|
||||
|
||||
if (fp1 == -1)
|
||||
|
||||
Reference in New Issue
Block a user