For the optional definition of ODE integration procedures that can then be used with Fb1_ODE. This is an advanced feature, the built-in symplectic procedures should suffice for most use cases. See the source code in Fb1_ODEintdef.sc for the way integrators are defined and Fb1_ODE for general information about Fb1 ODE integrator UGens.
HISTORY AND CREDITS: Big credit to David Pirrò from IEM Graz for pointing me to the symplectic integration methods, which are essential for audifying ODEs, as they help to ensure numeric stability in the long run (e.g. to avoid drifts of oscillations that are mathematically expected to be regular). See the chapter on integration in his dissertation [2], pp 135-146. You might also want check David Pirròs optimized ODE compiler named Henri [3]. Big credit also to Nathaniel Virgo who brought up the buffering strategy used in Fb1, which is Fb1_ODE's working horse.
Creates a new Fb1_ODEintdef object and stores it in a Dictionary for further usage with Fb1_ODE.
name |
The name of the integration procedure, expects a Symbol. Default Fb1_ODEintdefs cannot be overwritten. |
function |
The implementation of the Function ("stepper") which describes the numeric procedure. It must take the arguments odeDef, t, y, dt and ... args for further ODE args and must return the new integration value(s). For evaluating the ODE function the method Fb1_ODEdef.value is used which performs the evaluation depending on its first argument. |
stepDepth |
Integer. Values greater than one are for multi-step procedures. Defaults to 1. |
sizeFactor |
Integer. 1 means that the procedure buffers only integration values, 2 means that the differential is buffered too. Defaults to 1. |
Returns the Fb1_ODEintdef instance of the Symbol key if it exists.
key |
Symbol. |
Returns an array of all keys of currently stored Fb1_ODEintdefs.
Posts all keys of currently stored Fb1_ODEintdefs.
Removes the Fb1_ODEintdef of the Symbol key from the Dictionary.
key |
Symbol. |
Removes all Fb1_ODEintdefs other than the predefined ones from the Dictionary.
Getter for the Fb1_ODEintdef's name.
Getter for the Fb1_ODEintdef's function.
Getter for the Fb1_ODEintdef's stepDepth.
Getter for the Fb1_ODEintdef's sizeFactor.