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
d25dd342
Commit
d25dd342
authored
Jul 24, 2018
by
Mark Olesen
Browse files
STYLE: spurious reading of int instead of label
parent
d58c1424
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteArea/faMesh/faPatches/faPatch/faPatch.C
View file @
d25dd342
...
...
@@ -84,7 +84,7 @@ Foam::faPatch::faPatch
:
labelList
(
dict
.
lookup
(
"edgeLabels"
)),
patchIdentifier
(
name
,
dict
,
index
),
ngbPolyPatchIndex_
(
readInt
(
dict
.
lookup
(
"ngbPolyPatchIndex"
))
)
,
ngbPolyPatchIndex_
(
dict
.
get
<
label
>
(
"ngbPolyPatchIndex"
)),
boundaryMesh_
(
bm
),
edgeFacesPtr_
(
nullptr
),
pointLabelsPtr_
(
nullptr
),
...
...
src/finiteArea/faMesh/faPatches/faPatch/faPatchNew.C
View file @
d25dd342
...
...
@@ -41,7 +41,7 @@ Foam::autoPtr<Foam::faPatch> Foam::faPatch::New
DebugInFunction
<<
"constructing faPatch"
<<
endl
;
word
patchType
(
dict
.
lookup
(
"type"
));
const
word
patchType
(
dict
.
get
<
word
>
(
"type"
));
auto
cstrIter
=
dictionaryConstructorTablePtr_
->
cfind
(
patchType
);
...
...
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