mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: sampledTriSurfaceMesh: add warning about surface completely outside. Fixes #575.
This commit is contained in:
@ -787,6 +787,12 @@ bool Foam::sampledTriSurfaceMesh::update()
|
|||||||
{
|
{
|
||||||
// Surface and mesh do not overlap at all. Guarantee a valid
|
// Surface and mesh do not overlap at all. Guarantee a valid
|
||||||
// bounding box so we don't get any 'invalid bounding box' errors.
|
// bounding box so we don't get any 'invalid bounding box' errors.
|
||||||
|
|
||||||
|
WarningInFunction
|
||||||
|
<< "Surface " << surface_.searchableSurface::name()
|
||||||
|
<< " does not overlap bounding box of mesh " << mesh().bounds()
|
||||||
|
<< endl;
|
||||||
|
|
||||||
bb = treeBoundBox(mesh().bounds());
|
bb = treeBoundBox(mesh().bounds());
|
||||||
const vector span(bb.span());
|
const vector span(bb.span());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user