Skip to content
Snippets Groups Projects
Commit 08e6eca3 authored by mattijs's avatar mattijs
Browse files

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

parent fb152bd9
Branches
Tags
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment