mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
distance at centre
This commit is contained in:
@ -292,7 +292,8 @@ void Foam::searchableSphere::getNormal
|
||||
if (info[i].hit())
|
||||
{
|
||||
normal[i] = info[i].hitPoint() - centre_;
|
||||
normal[i] /= mag(normal[i]);
|
||||
|
||||
normal[i] /= mag(normal[i])+VSMALL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user