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
6f60466c
Commit
6f60466c
authored
Mar 11, 2020
by
niklas.baumgarten
Browse files
addded line for vtk (old code)
parent
704f00e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plot.C
View file @
6f60466c
...
...
@@ -372,6 +372,9 @@ void Plot::vtk_mesh(ostream &out, int deform) {
for
(
int
i
=
0
;
i
<
C
.
size
();
++
i
,
out
<<
endl
)
{
out
<<
C
[
i
].
size
()
<<
" "
;
switch
(
C
[
i
].
size
())
{
case
2
:
out
<<
C
[
i
][
0
]
<<
" "
<<
C
[
i
][
1
];
break
;
case
3
:
out
<<
C
[
i
][
0
]
<<
" "
<<
C
[
i
][
1
]
<<
" "
<<
C
[
i
][
2
];
break
;
...
...
@@ -391,6 +394,9 @@ void Plot::vtk_mesh(ostream &out, int deform) {
out
<<
"CELL_TYPES "
<<
C
.
size
()
<<
endl
;
for
(
int
i
=
0
;
i
<
C
.
size
();
++
i
,
out
<<
endl
)
{
switch
(
C
[
i
].
size
())
{
case
2
:
out
<<
"3"
;
break
;
case
3
:
out
<<
"5"
;
break
;
...
...
@@ -433,6 +439,9 @@ void Plot::vtk_2d_graph(ostream &out, int k) {
out
<<
"CELL_TYPES "
<<
C
.
size
()
<<
endl
;
for
(
int
i
=
0
;
i
<
C
.
size
();
++
i
,
out
<<
endl
)
{
switch
(
C
[
i
].
size
())
{
case
2
:
out
<<
"3"
;
break
;
case
3
:
out
<<
"5"
;
break
;
...
...
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