Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/src/basics/integrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ As low-level alternative to the callbacks, one can use `set_t!`, `set_u!` and
have efficient ways to modify `u` and `t`. In such case, `set_*!` are as
inefficient as `reinit!`.

For modifying parameters `p`, you can directly assign to the field:
```julia
integrator.p = new_p
```
Unlike `u` or `t`, changing `p` doesn't affect the solver's internal state or
accuracy, so it can be modified directly without a setter function.

```@docs
SciMLBase.set_t!
SciMLBase.set_u!
Expand Down
Loading