SaveAt¶
SaveAt sets what a solve saves and when, passed as saveat= on
ds.pdesolve. See solutions and output.
diff_soup.SaveAt
dataclass
¶
Determines which times and quantities a solve saves.
Pass it as saveat= to pdesolve. With nothing requested the solve saves the final state only. Buffers keep a fixed size, so unfilled rows read NaN.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
t0
|
bool
|
If |
False
|
t1
|
bool
|
If |
False
|
ts
|
Optional[Array]
|
Times inside the interval, sorted and deduplicated before the solve, and not combined with |
None
|
steps
|
bool | int
|
|
False
|
dense
|
bool
|
If |
False
|
fn
|
Optional[Callable[..., Any]]
|
Not supported, and must stay |
None
|
subs
|
Any
|
Not supported, and must stay |
None
|
solver_state
|
bool
|
Not supported, and must stay |
False
|
controller_state
|
bool
|
Not supported, and must stay |
False
|
made_jump
|
bool
|
Not supported, and must stay |
False
|
output
|
Optional[DenseOutputPolicy]
|
A |
None
|
ordered
|
bool
|
If |
False
|
outputs
|
Optional[Sequence[str]]
|
Names to store in place of the state, each a declared observation, a declared field, |
None
|
diff_soup.timestepping.SubSaveAt
dataclass
¶
A Diffrax-style save request for one output, which no solver accepts.
SaveAt(subs=...) raises ConfigurationError. Name several stored quantities with SaveAt(outputs=...) instead.
diff_soup.DenseOutputPolicy
dataclass
¶
How the algebraic rows of interpolated samples are computed.
Pass it as SaveAt(output=...) or Event(state_policy=...).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mode
|
str
|
|
'fast'
|