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
dumux-repositories
dumux
Commits
2dfa8103
Commit
2dfa8103
authored
Aug 28, 2019
by
Gabi Seitz
Committed by
Timo Koch
Sep 12, 2019
Browse files
[tabulatedcomponent] make warning message more clear and friendly
parent
fde55173
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/material/components/tabulatedcomponent.hh
View file @
2dfa8103
...
...
@@ -647,11 +647,14 @@ private:
return
;
if
(
!
initialized_
)
std
::
cerr
<<
"
TABULATED COMPONENT
'"
<<
name
()
<<
"'
WAS NOT INITIALIZED!
"
<<
"
PLEASE CALL
FluidSystem::init()
\n
"
;
std
::
cerr
<<
"
Warning: tabulated component
'"
<<
name
()
<<
"'
has not been initialized.
"
<<
"
Call
FluidSystem::init()
to use the tabulation in order to reduce runtime.
\n
"
;
else
std
::
cerr
<<
"FORWARD METHOD CALL "
<<
quantity
<<
"("
<<
arg1
<<
", "
<<
arg2
<<
") OF COMPONENT '"
<<
name
()
<<
"'. TABULATION TOO SMALL?
\n
"
;
std
::
cerr
<<
"Warning: "
<<
quantity
<<
"(T="
<<
arg1
<<
", p="
<<
arg2
<<
") of component '"
<<
name
()
<<
"' is outside tabulation range: ("
<<
tempMin_
<<
"<=T<="
<<
tempMax_
<<
"), ("
<<
pressMin_
<<
"<=p<="
<<
pressMax_
<<
"). "
<<
"Forwarded to FluidSystem for direct evaluation of "
<<
quantity
<<
".
\n
"
;
warningPrinted_
=
true
;
#endif
}
...
...
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