From 8937a808edefaa9379a7f5a2df53131965e5bfc9 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Thu, 1 Nov 2018 09:57:22 +0000 Subject: [PATCH] STYLE: allow "centre" for sphere without warnings --- .../searchableSurfaces/searchableSphere/searchableSphere.C | 2 +- src/meshTools/sets/cellSources/sphereToCell/sphereToCell.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.C b/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.C index fc7cebeda1..67509335f6 100644 --- a/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.C +++ b/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.C @@ -160,7 +160,7 @@ Foam::searchableSphere::searchableSphere searchableSphere ( io, - dict.getCompat("origin", {{"centre", 1806}}), + dict.getCompat("origin", {{"centre", -1806}}), dict.get("radius") ) {} diff --git a/src/meshTools/sets/cellSources/sphereToCell/sphereToCell.C b/src/meshTools/sets/cellSources/sphereToCell/sphereToCell.C index 8c47d75418..072e084dbb 100644 --- a/src/meshTools/sets/cellSources/sphereToCell/sphereToCell.C +++ b/src/meshTools/sets/cellSources/sphereToCell/sphereToCell.C @@ -103,7 +103,7 @@ Foam::sphereToCell::sphereToCell sphereToCell ( mesh, - dict.getCompat("origin", {{"centre", 1806}}), + dict.getCompat("origin", {{"centre", -1806}}), dict.get("radius") ) {}