Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
Mpp
Commits
6d9a4c74
Commit
6d9a4c74
authored
Jan 26, 2022
by
niklas.baumgarten
Browse files
[Hack-For-ST-In-VtuPlot] hack for st
parent
fa34b96d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib4_fem/plot/VtuPlot.cpp
View file @
6d9a4c74
...
...
@@ -192,9 +192,11 @@ void VtuPlot::checkMesh(const Mesh &other) {
void
VtuPlot
::
initPoints
(
const
Mesh
&
init
)
{
// == Send Points to Master Proc ==
ExchangeBuffer
exBuffer
(
init
.
CommSplit
());
for
(
vertex
v
=
init
.
vertices
();
v
!=
init
.
vertices_end
();
++
v
)
if
(
init
.
procSets
.
master
(
v
()))
exBuffer
.
Send
(
0
)
<<
v
();
for
(
vertex
v
=
init
.
vertices
();
v
!=
init
.
vertices_end
();
++
v
)
{
// Todo remove this hack! ST code has probably wrong procsets
if
(
init
.
procSets
.
master
(
v
())
||
init
.
IsSTMesh
())
exBuffer
.
Send
(
0
)
<<
v
();
}
exBuffer
.
Communicate
();
// == Receive Points and insert into plot ==
...
...
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