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
598198b3
Commit
598198b3
authored
Oct 19, 2011
by
Henry
Browse files
objectRegistry: put the event overflow warning into a debug test
parent
32d7d051
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/objectRegistry/objectRegistry.C
View file @
598198b3
...
...
@@ -164,10 +164,13 @@ Foam::label Foam::objectRegistry::getEvent() const
if
(
event_
==
labelMax
)
{
WarningIn
(
"objectRegistry::getEvent() const"
)
<<
"Event counter has overflowed. "
<<
"Resetting counter on all dependent objects."
<<
nl
<<
"This might cause extra evaluations."
<<
endl
;
if
(
objectRegistry
::
debug
)
{
WarningIn
(
"objectRegistry::getEvent() const"
)
<<
"Event counter has overflowed. "
<<
"Resetting counter on all dependent objects."
<<
nl
<<
"This might cause extra evaluations."
<<
endl
;
}
// Reset event counter
curEvent
=
1
;
...
...
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