Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
08e6eca3
Commit
08e6eca3
authored
Dec 27, 2017
by
mattijs
Browse files
ENH: sampledTriSurfaceMesh: add warning about surface completely outside. Fixes
#575
.
parent
fb152bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sampling/sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C
View file @
08e6eca3
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment