mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: allow "centre" for sphere without warnings
This commit is contained in:
@ -160,7 +160,7 @@ Foam::searchableSphere::searchableSphere
|
||||
searchableSphere
|
||||
(
|
||||
io,
|
||||
dict.getCompat<vector>("origin", {{"centre", 1806}}),
|
||||
dict.getCompat<vector>("origin", {{"centre", -1806}}),
|
||||
dict.get<scalar>("radius")
|
||||
)
|
||||
{}
|
||||
|
||||
@ -103,7 +103,7 @@ Foam::sphereToCell::sphereToCell
|
||||
sphereToCell
|
||||
(
|
||||
mesh,
|
||||
dict.getCompat<vector>("origin", {{"centre", 1806}}),
|
||||
dict.getCompat<vector>("origin", {{"centre", -1806}}),
|
||||
dict.get<scalar>("radius")
|
||||
)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user