Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
05d0a4f1
Commit
05d0a4f1
authored
Dec 16, 2020
by
Mark Olesen
Browse files
STYLE: add warning if function object subRegion is not found
parent
4bd1bd75
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.C
View file @
05d0a4f1
...
...
@@ -57,6 +57,13 @@ Foam::functionObjects::regionFunctionObject::obr() const
obrPtr_
=
storedObjects
().
cfindObject
<
objectRegistry
>
(
subRegistryName_
);
}
if
(
!
obrPtr_
)
{
WarningInFunction
<<
"Could not locate subRegion
\"
"
<<
subRegistryName_
<<
'"'
<<
nl
;
}
}
return
(
obrPtr_
?
*
obrPtr_
:
obr_
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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