Switched to multithreading
This commit is contained in:
parent
d55ae54d32
commit
64e5cac36f
2 changed files with 20 additions and 23 deletions
|
@ -31,6 +31,9 @@ class ReadSwash:
|
|||
return self.read_nohead(path).reshape((self._n_t, self._n_x))[0, :]
|
||||
return self.read_nohead(path).reshape((self._n_t, self._n_x))
|
||||
|
||||
def read_const(self, path):
|
||||
return self.read_scalar(path, const=True)
|
||||
|
||||
def read_vector(self, path):
|
||||
return self.read_nohead(path).reshape((self._n_t, 2, self._n_x))
|
||||
|
||||
|
|
Reference in a new issue