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
|
searchableSphere
|
||||||
(
|
(
|
||||||
io,
|
io,
|
||||||
dict.getCompat<vector>("origin", {{"centre", 1806}}),
|
dict.getCompat<vector>("origin", {{"centre", -1806}}),
|
||||||
dict.get<scalar>("radius")
|
dict.get<scalar>("radius")
|
||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|||||||
@ -103,7 +103,7 @@ Foam::sphereToCell::sphereToCell
|
|||||||
sphereToCell
|
sphereToCell
|
||||||
(
|
(
|
||||||
mesh,
|
mesh,
|
||||||
dict.getCompat<vector>("origin", {{"centre", 1806}}),
|
dict.getCompat<vector>("origin", {{"centre", -1806}}),
|
||||||
dict.get<scalar>("radius")
|
dict.get<scalar>("radius")
|
||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|||||||
Reference in New Issue
Block a user