Skip to content

Commit

Permalink
add a mention of sharing steppers among solvers [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Oct 11, 2021
1 parent b9d4ed5 commit a49941a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ In the latter case, noticeably
faster execution can be expected, however the resultant
stepper is less versatile as bound to the given grid size.
If number of dimensions is supplied only, the integration
will take longer, yet same instance of the
might take longer, yet same instance of the
stepper can be used for different grids.

Since creating an instance of the [``Stepper``](https://atmos-cloud-sim-uj.github.io/PyMPDATA/stepper.html) class
Expand Down Expand Up @@ -384,6 +384,7 @@ which advances the solution by ``nt`` timesteps, optionally
taking into account a given value of diffusion coefficient.

Solution state is accessible through the ``Solver.advectee`` property.
Multiple solver[s] can share a single stepper, e.g., as exemplified in the shallow-water system solution in the examples package.

Continuing with the above code snippets, instantiating
a solver and making one integration step looks as follows:
Expand Down

0 comments on commit a49941a

Please sign in to comment.