solprop.backends.numpy_ref.batch#
Evaluate reference Runge-Kutta stage arrays across a leading member axis.
Classes
|
Evaluate batch stage arithmetic with independently parameterised responses. |
- class solprop.backends.numpy_ref.batch.NumpyBatchBackend(members)[source]#
Bases:
LockstepRunnerEvaluate batch stage arithmetic with independently parameterised responses.
Stage sums, input construction and the final update operate on arrays with a leading member axis. Response evaluation retains each member’s own transform, material and statistics context. Norms are reduced within each member in the same order as the singleton reference.
- Parameters:
- memberssequence of solprop.backends.numpy_ref.NumpyRefBackend
Loaded reference workspaces with matching shapes, fixed schedules and Runge-Kutta tableaus. Ownership transfers on successful construction.
- Raises:
- BackendError
If the fixed-schedule contract, backend or tableau differs between members.
- helpers = Helpers(name='plain')#
- memory_ledger()[source]#
Include transient array packing alongside the reference step peak.
- Returns:
- dict of str to int
Conservative peak workspace bytes. Existing member ledgers account for stage stacks and accumulators; these entries cover concatenation inputs, outputs and expression temporaries that coexist with them.