Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
zero_field.h
Go to the documentation of this file.
1
5#ifndef OAKFIELD_ZERO_FIELD_H
6#define OAKFIELD_ZERO_FIELD_H
7
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14struct SimContext;
15
22
37 const ZeroFieldOperatorConfig *config, size_t *out_index);
38
49SimResult sim_zero_field_config(struct SimContext *context, size_t operator_index,
50 ZeroFieldOperatorConfig *out_config);
51
65SimResult sim_zero_field_update(struct SimContext *context, size_t operator_index,
66 const ZeroFieldOperatorConfig *config);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* OAKFIELD_ZERO_FIELD_H */
SimResult
Return codes shared by libsimcore modules.
Definition field.h:29
Declarative complex-first operator splitting (substep expansion at plan time).
Simulation runtime state.
Definition sim_context.h:70
Configuration for clearing a target field in place.
Definition zero_field.h:19
size_t field_index
Definition zero_field.h:20
SimResult sim_zero_field_update(struct SimContext *context, size_t operator_index, const ZeroFieldOperatorConfig *config)
Update a registered zero-field operator without retargeting it.
SimResult sim_add_zero_field_operator(struct SimContext *context, const ZeroFieldOperatorConfig *config, size_t *out_index)
Register an in-place zero-field utility operator.
SimResult sim_zero_field_config(struct SimContext *context, size_t operator_index, ZeroFieldOperatorConfig *out_config)
Copy the current configuration from a registered zero-field operator.