Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
phase_feature.h
Go to the documentation of this file.
1
5#ifndef OAKFIELD_PHASE_FEATURE_H
6#define OAKFIELD_PHASE_FEATURE_H
7
9
10#include <stdbool.h>
11#include <stddef.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17struct SimContext;
18
30
42 size_t *out_index);
43
54SimResult sim_phase_feature_config(struct SimContext *context, size_t operator_index,
56
70SimResult sim_phase_feature_update(struct SimContext *context, size_t operator_index,
71 const SimPhaseFeatureOperatorConfig *config);
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif /* OAKFIELD_PHASE_FEATURE_H */
SimResult
Return codes shared by libsimcore modules.
Definition field.h:29
Declarative complex-first operator splitting (substep expansion at plan time).
SimResult sim_add_phase_feature_operator(struct SimContext *context, const SimPhaseFeatureOperatorConfig *config, size_t *out_index)
Register a phase-feature extraction operator.
SimResult sim_phase_feature_config(struct SimContext *context, size_t operator_index, SimPhaseFeatureOperatorConfig *out_config)
Copy the current phase-feature configuration from a registered operator.
SimResult sim_phase_feature_update(struct SimContext *context, size_t operator_index, const SimPhaseFeatureOperatorConfig *config)
Replace or renormalize a registered phase-feature configuration.
Simulation runtime state.
Definition sim_context.h:70
Configuration for phase-feature extraction.
Definition phase_feature.h:22
double exponent
Definition phase_feature.h:26
size_t input_field
Definition phase_feature.h:23
size_t output_field
Definition phase_feature.h:24
double threshold
Definition phase_feature.h:25
bool accumulate
Definition phase_feature.h:27
bool scale_by_dt
Definition phase_feature.h:28