We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3aafbe5 + f198e9f commit 40e1f82Copy full SHA for 40e1f82
src/pyclaw/solution.py
@@ -349,6 +349,9 @@ def get_read_func(self, file_format):
349
return io.ascii.read
350
elif file_format in ('hdf','hdf5'):
351
return io.hdf5.read
352
+ elif file_format == 'petsc':
353
+ from clawpack.petclaw import io
354
+ return io.petsc.read
355
else:
356
raise ValueError("File format %s not supported." % file_format)
357
0 commit comments