Skip to content
Snippets Groups Projects
Commit 8751b9aa authored by mattijs's avatar mattijs
Browse files

ENH: sampledTriSurfaceMesh: add warning about surface completely outside. Fixes #575.

parent 373dcbd1
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment