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
7fda6ce1
Commit
7fda6ce1
authored
Nov 04, 2010
by
mattijs
Browse files
ENH: PointEdgeWave : only call update if valid point info
parent
a45f394c
Changes
2
Show whitespace changes
Inline
Side-by-side
src/meshTools/PointEdgeWave/PointEdgeWave.C
View file @
7fda6ce1
...
...
@@ -515,6 +515,8 @@ void Foam::PointEdgeWave<Type>::handleProcPatches()
label
meshPointI
=
pd
.
sharedPointLabels
()[
i
];
// Retrieve my entries from the shared points
if
(
sharedData
[
pd
.
sharedPointAddr
()[
i
]].
valid
())
{
updatePoint
(
meshPointI
,
...
...
@@ -523,6 +525,7 @@ void Foam::PointEdgeWave<Type>::handleProcPatches()
allPointInfo_
[
meshPointI
]
);
}
}
}
...
...
src/meshTools/PointEdgeWave/PointEdgeWave.H
View file @
7fda6ce1
...
...
@@ -349,6 +349,8 @@ public:
void
operator
()(
List
<
Type
>&
x
,
const
List
<
Type
>&
y
)
const
{
forAll
(
x
,
i
)
{
if
(
y
[
i
].
valid
())
{
x
[
i
].
updatePoint
(
y
[
i
],
PointEdgeWave
<
Type
>::
propagationTol
());
}
...
...
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