STYLE: allow "centre" for sphere without warnings

This commit is contained in:
Mark Olesen
2018-11-01 09:57:22 +00:00
parent 8b826a9b51
commit 8937a808ed
2 changed files with 2 additions and 2 deletions

View File

@ -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")
) )
{} {}

View File

@ -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")
) )
{} {}