Commit ea408ff1 authored by Lambert Theisen's avatar Lambert Theisen 🔥

Refactor write_vec

parent 2d9a7181
Pipeline #307466 passed with stages
in 24 minutes and 40 seconds
......@@ -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.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment