Skip to content

Commit cd0771c

Browse files
authored
Update simulation documentation
Put `react.recommendedsolver` in the documentation as an option for the users
1 parent 15f3a6e commit cd0771c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/Simulating.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ react,y0,p = Reactor((domainliq,domaincat), (y0liq,y0cat), (0.0, 1.0e5), [inter]
9393

9494
RMS purposefully exposes the solver interface provide users with all the options available from
9595
Julia's DifferentialEquations package. The ODEProblem object is a field of the Reactor
96-
object `react.ode` and can be solved as the user desires.
96+
object `react.ode` and can be solved as the user desires. A recommended solver choice is stored in `react.recommendedsolver`. User can also specify their own choice of solver.
9797

9898
Forward sensitivity analysis can also be requested on the Reactor object by setting `forwardsensitivities=true`. Note that adjoint sensitivity analysis is usually much faster and can be done as a postprocessing analysis after the simulation is complete without a need to set `forwardsensitivities=true` during the simulation (this is discussed in the Analysis section).
9999

100100
Example:
101101

102102
```
103-
sol = solve(react.ode,CVODE_BDF(),abstol=1e-20,reltol=1e-12)
103+
sol = solve(react.ode,react.recommendedsolver,abstol=1e-20,reltol=1e-12)
104104
```
105105

106106
```

0 commit comments

Comments
 (0)