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
Hide whitespace changes
Inline
Side-by-side
src/meshTools/PointEdgeWave/PointEdgeWave.C
View file @
7fda6ce1
...
...
@@ -515,13 +515,16 @@ void Foam::PointEdgeWave<Type>::handleProcPatches()
label
meshPointI
=
pd
.
sharedPointLabels
()[
i
];
// Retrieve my entries from the shared points
updatePoint
(
meshPointI
,
sharedData
[
pd
.
sharedPointAddr
()[
i
]],
propagationTol_
,
allPointInfo_
[
meshPointI
]
);
if
(
sharedData
[
pd
.
sharedPointAddr
()[
i
]].
valid
())
{
updatePoint
(
meshPointI
,
sharedData
[
pd
.
sharedPointAddr
()[
i
]],
propagationTol_
,
allPointInfo_
[
meshPointI
]
);
}
}
}
...
...
src/meshTools/PointEdgeWave/PointEdgeWave.H
View file @
7fda6ce1
...
...
@@ -350,8 +350,10 @@ public:
{
forAll
(
x
,
i
)
{
x
[
i
].
updatePoint
(
y
[
i
],
PointEdgeWave
<
Type
>::
propagationTol
());
}
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