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