|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Discrete chaotic map operator for real or complex state fields. More...


Go to the source code of this file.
Classes | |
| struct | SimChaosMapOperatorConfig |
| Configuration for discrete chaotic map operators. More... | |
Typedefs | |
| typedef enum SimChaosMapType | SimChaosMapType |
| Supported chaotic map families. | |
| typedef enum SimChaosKickMode | SimChaosKickMode |
| Standard map kick/drift ordering. | |
| typedef enum SimChaosWrapMode | SimChaosWrapMode |
| Wrap mode for state components. | |
| typedef enum SimChaosEscapeMode | SimChaosEscapeMode |
| Escape handling when state diverges. | |
| typedef struct SimChaosMapOperatorConfig | SimChaosMapOperatorConfig |
| Configuration for discrete chaotic map operators. | |
Enumerations | |
| enum | SimChaosMapType { SIM_CHAOS_MAP_STANDARD = 0 , SIM_CHAOS_MAP_IKEDA , SIM_CHAOS_MAP_EXPONENTIAL , SIM_CHAOS_MAP_QUADRATIC , SIM_CHAOS_MAP_HENON , SIM_CHAOS_MAP_LOZI , SIM_CHAOS_MAP_TINKERBELL } |
| Supported chaotic map families. More... | |
| enum | SimChaosKickMode { SIM_CHAOS_KICK_DRIFT = 0 , SIM_CHAOS_DRIFT_KICK , SIM_CHAOS_KICK_DRIFT_KICK } |
| Standard map kick/drift ordering. More... | |
| enum | SimChaosWrapMode { SIM_CHAOS_WRAP_NONE = 0 , SIM_CHAOS_WRAP_PERIODIC , SIM_CHAOS_WRAP_CLAMP , SIM_CHAOS_WRAP_MIRROR } |
| Wrap mode for state components. More... | |
| enum | SimChaosEscapeMode { SIM_CHAOS_ESCAPE_NONE = 0 , SIM_CHAOS_ESCAPE_CLAMP , SIM_CHAOS_ESCAPE_RESET , SIM_CHAOS_ESCAPE_NAN } |
| Escape handling when state diverges. More... | |
Functions | |
| SimResult | sim_add_chaos_map_operator (struct SimContext *context, const SimChaosMapOperatorConfig *config, size_t *out_index) |
| Register a chaos map operator with the provided configuration. | |
| SimResult | sim_chaos_map_config (struct SimContext *context, size_t operator_index, SimChaosMapOperatorConfig *out_config) |
| Retrieve the configuration currently bound to a chaos map operator. | |
| SimResult | sim_chaos_map_update (struct SimContext *context, size_t operator_index, const SimChaosMapOperatorConfig *config) |
| Update an existing chaos map operator in-place. | |
Discrete chaotic map operator for real or complex state fields.
| typedef struct SimChaosMapOperatorConfig SimChaosMapOperatorConfig |
Configuration for discrete chaotic map operators.
The state is stored in a complex field: re = x, im = y (or momentum for standard map).
| enum SimChaosEscapeMode |
| enum SimChaosKickMode |
| enum SimChaosMapType |
Supported chaotic map families.
| enum SimChaosWrapMode |
| SimResult sim_add_chaos_map_operator | ( | struct SimContext * | context, |
| const SimChaosMapOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register a chaos map operator with the provided configuration.
| context | Simulation context that will own the operator. | |
| config | Optional chaos map configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_chaos_map_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimChaosMapOperatorConfig * | out_config | ||
| ) |
Retrieve the configuration currently bound to a chaos map operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_chaos_map_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_chaos_map_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimChaosMapOperatorConfig * | config | ||
| ) |
Update an existing chaos map operator in-place.
Passing NULL for config keeps the current configuration and reapplies normalization. A successful update refreshes symbolic metadata.
| context | Simulation context containing the operator. |
| operator_index | Index of the chaos map operator to update. |
| config | Optional replacement chaos map configuration. |