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.
1 parent 7860a1f commit 19757e6Copy full SHA for 19757e6
docs/source/compressible-rt-compare.ipynb
docs/source/index.rst
@@ -62,6 +62,7 @@ new ideas.
62
:caption: Examples
63
:hidden:
64
65
+ compressible-rt-compare.ipynb
66
advection-error.ipynb
67
compressible-convergence.ipynb
68
pyro/pyro_sim.py
@@ -239,7 +239,10 @@ def single_step(self):
239
tm_vis.end()
240
241
def __repr__(self):
242
- """ Return a representation of the Pyro object """
+ s = f"Pyro('{self.solver_name}')"
243
+ return s
244
+
245
+ def __str__(self):
246
s = f"Solver = {self.solver_name}\n"
247
if self.is_initialized:
248
s += f"Problem = {self.sim.problem_name}\n"
0 commit comments