Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Community
integration-cfmesh
Commits
d2578e7b
Commit
d2578e7b
authored
Aug 26, 2014
by
Franjo
Browse files
Fixed crashes in edgeExtractor
parent
9c385673
Changes
2
Hide whitespace changes
Inline
Side-by-side
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractor.C
View file @
d2578e7b
...
...
@@ -1776,7 +1776,7 @@ bool edgeExtractor::checkFacePatchesTopology()
}
}
//- e
a
vluate the new situation and ensure that no oscillation occur
//- ev
a
luate the new situation and ensure that no oscillation occur
reduce
(
nCorrected
,
sumOp
<
label
>
());
if
(
nCorrected
)
{
...
...
@@ -1806,7 +1806,8 @@ bool edgeExtractor::checkFacePatchesTopology()
facePatch_
.
transfer
(
newBoundaryPatches
);
}
}
while
(
nCorrected
!=
0
&&
(
nIter
++
<
30
)
);
}
while
(
nCorrected
!=
0
&&
(
nIter
++
<
3
)
);
return
changed
;
}
...
...
meshLibrary/utilities/surfaceTools/edgeExtraction/edgeExtractor/edgeExtractorCorners.C
View file @
d2578e7b
...
...
@@ -256,7 +256,7 @@ void edgeExtractor::faceEvaluator::neiPatchesOverEdges
neiPatches
[
feI
]
=
fPatches
[
nei
];
}
else
if
(
edgeFaces
.
sizeOfRow
(
beI
)
==
1
)
else
if
(
Pstream
::
parRun
()
&&
(
edgeFaces
.
sizeOfRow
(
beI
)
==
1
)
)
{
neiPatches
[
feI
]
=
otherFacePatch
[
beI
];
}
...
...
@@ -422,8 +422,8 @@ label edgeExtractor::faceEvaluator::bestPatchAfterModification
forAll
(
neiFaces
,
eI
)
{
const
label
origPatchI
=
extractor_
.
facePatch_
[
neiFac
es
[
eI
]
]
;
const
label
newPatchI
=
(
*
new
BoundaryPatchesPtr_
)[
neiFac
es
[
eI
]
]
;
const
label
origPatchI
=
oldNeiPatch
es
[
eI
];
const
label
newPatchI
=
new
NeiPatch
es
[
eI
];
if
(
neiFaces
[
eI
]
>
bfI
)
{
...
...
Write
Preview
Supports
Markdown
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