Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Lambert Theisen
fenicsR13
Commits
ea408ff1
Commit
ea408ff1
authored
Jul 13, 2020
by
Lambert Theisen
🔥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor write_vec
parent
2d9a7181
Pipeline
#307466
passed with stages
in 24 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fenicsR13/solver.py
fenicsR13/solver.py
+2
-2
No files found.
fenicsR13/solver.py
View file @
ea408ff1
...
...
@@ -1164,7 +1164,7 @@ class Solver:
sols
=
self
.
sol
for
field
in
sols
:
if
sols
[
field
]
is
not
None
:
self
.
__write_vec
(
field
,
sols
[
field
]
,
self
.
write_pdfs
)
self
.
__write_vec
(
field
,
sols
[
field
])
def
__write_parameters
(
self
):
"""
...
...
@@ -1367,7 +1367,7 @@ class Solver:
plt
.
savefig
(
fname_pdf
,
dpi
=
150
)
plt
.
close
()
def
__write_vec
(
self
,
name
,
field
,
write_pdf
):
def
__write_vec
(
self
,
name
,
field
):
"""
Write a given field to a vector.
"""
...
...
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