|
Oakfield API Documentation 1.0.0
Numerical core APIs
|
Analytic+residual neural hybrid operator scaffolding. More...
#include "neural_infer.h"

Go to the source code of this file.
Classes | |
| struct | SimNeuralHybridOperatorConfig |
| Configuration for analytic + neural residual hybrid operator. More... | |
Typedefs | |
| typedef struct SimNeuralHybridOperatorConfig | SimNeuralHybridOperatorConfig |
| Configuration for analytic + neural residual hybrid operator. | |
Functions | |
| SimResult | sim_add_neural_hybrid_operator (struct SimContext *context, const SimNeuralHybridOperatorConfig *config, size_t *out_index) |
| Register an analytic-plus-neural residual hybrid operator. | |
| SimResult | sim_neural_hybrid_config (struct SimContext *context, size_t operator_index, SimNeuralHybridOperatorConfig *out_config) |
| Copy the current neural hybrid configuration from a registered operator. | |
| SimResult | sim_neural_hybrid_update (struct SimContext *context, size_t operator_index, const SimNeuralHybridOperatorConfig *config) |
| Replace the configuration of a registered neural hybrid operator. | |
Analytic+residual neural hybrid operator scaffolding.
| SimResult sim_add_neural_hybrid_operator | ( | struct SimContext * | context, |
| const SimNeuralHybridOperatorConfig * | config, | ||
| size_t * | out_index | ||
| ) |
Register an analytic-plus-neural residual hybrid operator.
| context | Simulation context that will own the operator. | |
| config | Optional hybrid configuration; NULL selects normalized defaults. | |
| [out] | out_index | Optional destination for the registered operator index. |
| SimResult sim_neural_hybrid_config | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| SimNeuralHybridOperatorConfig * | out_config | ||
| ) |
Copy the current neural hybrid configuration from a registered operator.
| context | Simulation context containing the operator. | |
| operator_index | Index returned by sim_add_neural_hybrid_operator(). | |
| [out] | out_config | Receives the normalized configuration. |
| SimResult sim_neural_hybrid_update | ( | struct SimContext * | context, |
| size_t | operator_index, | ||
| const SimNeuralHybridOperatorConfig * | config | ||
| ) |
Replace the configuration of a registered neural hybrid operator.
config is required. The replacement is normalized and field/shape compatibility is checked before storing it.
| context | Simulation context containing the operator. |
| operator_index | Index of the neural hybrid operator to update. |
| config | Replacement hybrid configuration. |