diff --git a/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C b/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C index f2542e4cc11a5555b75049fcaed0dfa832e5f988..9732f9b70d8228875c2a7f90ebbaa4f4c260d36d 100644 --- a/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C +++ b/src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C @@ -787,6 +787,12 @@ bool Foam::sampledTriSurfaceMesh::update() { // Surface and mesh do not overlap at all. Guarantee a valid // 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()); const vector span(bb.span());