|
1 | 1 | Running |
2 | 2 | ======= |
3 | 3 |
|
4 | | -Pyro can be run in two ways: either from the commandline, using the |
5 | | -``pyro_sim.py`` script (this will be installed into your search path) |
6 | | -and passing in the solver, problem and inputs as arguments, or by |
7 | | -using the :func:`Pyro <pyro.pyro_sim.Pyro>` class. |
| 4 | +Pyro can be run in two ways: |
| 5 | + |
| 6 | +* from the commandline, using the ``pyro_sim.py`` script (this will be installed into your search path) |
| 7 | + |
| 8 | +* by using the :func:`Pyro <pyro.pyro_sim.Pyro>` class directly in ipython or Jupyter |
8 | 9 |
|
9 | 10 | Commandline |
10 | 11 | ------------ |
@@ -79,7 +80,7 @@ visualization for the previous example, we would do: |
79 | 80 |
|
80 | 81 | .. code-block:: python |
81 | 82 |
|
82 | | - parameters = {"vis.dovis":0} |
| 83 | + parameters = {"vis.dovis": 0} |
83 | 84 | p.initialize_problem(problem_name="kh", |
84 | 85 | inputs_file="inputs.kh", |
85 | 86 | inputs_dict=parameters) |
@@ -132,11 +133,13 @@ as: |
132 | 133 | ... |
133 | 134 | cfl = rp.get_param("hydro.cfl") |
134 | 135 |
|
135 | | -When pyro is run, the file ``inputs.auto`` is output containing the |
136 | | -full list of runtime parameters, their value for the simulation, and |
137 | | -the comment that was associated with them from the ``_defaults`` |
138 | | -files. This is a useful way to see what parameters are in play for a |
139 | | -given simulation. |
| 136 | +.. tip:: |
| 137 | + |
| 138 | + When pyro is run, the file ``inputs.auto`` is output containing the |
| 139 | + full list of runtime parameters, their value for the simulation, and |
| 140 | + the comment that was associated with them from the ``_defaults`` |
| 141 | + files. This is a useful way to see what parameters are in play for a |
| 142 | + given simulation. |
140 | 143 |
|
141 | 144 | All solvers use the following parameters: |
142 | 145 |
|
|
0 commit comments