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
80ebb46a
Commit
80ebb46a
authored
Aug 01, 2011
by
Henry
Browse files
dlLibraryTable: updated warning messaging
parent
2d2d8d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTableTemplates.C
View file @
80ebb46a
...
...
@@ -57,13 +57,23 @@ bool Foam::dlLibraryTable::open
bool
opened
=
dlLibraryTable
::
open
(
libName
);
allOpened
=
opened
&&
allOpened
;
if
(
opened
&&
(
!
tablePtr
||
tablePtr
->
size
()
<=
nEntries
)
)
if
(
!
opened
)
{
WarningIn
(
"dlLibraryTable::open"
"(const dictionary& dict, const word& libsEntry, "
"const TablePtr tablePtr)"
"(const dictionary&, const word&, "
"const TablePtr&)"
)
<<
"Could not open library "
<<
libName
<<
endl
<<
endl
;
}
else
if
(
debug
&&
(
!
tablePtr
||
tablePtr
->
size
()
<=
nEntries
))
{
WarningIn
(
"dlLibraryTable::open"
"(const dictionary&, const word&, "
"const TablePtr&)"
)
<<
"library "
<<
libName
<<
" did not introduce any new entries"
<<
endl
<<
endl
;
...
...
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