Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
phase_rotate.h
Go to the documentation of this file.
1
8#ifndef OAKFIELD_PHASE_ROTATE_H
9#define OAKFIELD_PHASE_ROTATE_H
10
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17struct SimContext;
18
26
43 const PhaseRotateOperatorConfig *config, size_t *out_index);
44
55SimResult sim_phase_rotate_config(struct SimContext *context, size_t operator_index,
56 PhaseRotateOperatorConfig *out_config);
57
73SimResult sim_phase_rotate_update(struct SimContext *context, size_t operator_index,
74 const PhaseRotateOperatorConfig *config);
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* OAKFIELD_PHASE_ROTATE_H */
SimResult
Return codes shared by libsimcore modules.
Definition field.h:29
Declarative complex-first operator splitting (substep expansion at plan time).
SimResult sim_phase_rotate_update(struct SimContext *context, size_t operator_index, const PhaseRotateOperatorConfig *config)
Replace the configuration of a registered phase-rotation operator.
SimResult sim_add_phase_rotate_operator(struct SimContext *context, const PhaseRotateOperatorConfig *config, size_t *out_index)
Register a phase-rotation utility operator.
SimResult sim_phase_rotate_config(struct SimContext *context, size_t operator_index, PhaseRotateOperatorConfig *out_config)
Copy the current configuration from a registered phase-rotation operator.
Configuration for applying a uniform phase rotation to a target field.
Definition phase_rotate.h:22
size_t field_index
Definition phase_rotate.h:23
double phase_rate
Definition phase_rotate.h:24
Simulation runtime state.
Definition sim_context.h:70