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
Modules
Visualization
Commits
208953f5
Commit
208953f5
authored
Jul 24, 2018
by
Mark OLESEN
Browse files
ENH: use restricted dictionary lookup for utilities (issue #762)
- get<label>, get<scalar> instead of readLabel, readScalar, etc.
parent
09899148
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/paraview-plugins/vtkPVFoam/vtkPVFoamUpdateInfo.C
View file @
208953f5
...
...
@@ -368,7 +368,7 @@ void Foam::vtkPVFoam::updateInfoPatches
const
dictionary
&
patchDict
=
patchEntries
[
patchi
].
dict
();
wordList
groupNames
;
sizes
[
patchi
]
=
readLabel
(
patchDict
.
lookup
(
"nFaces"
)
)
;
sizes
[
patchi
]
=
patchDict
.
get
<
label
>
(
"nFaces"
);
names
[
patchi
]
=
patchEntries
[
patchi
].
keyword
();
if
...
...
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