45 int *modena_inputs_new(
int *
self);
46 int *modena_inputs_new(
int *
self)
51 int *modena_outputs_new(
int *
self);
52 int *modena_outputs_new(
int *
self)
74 void modena_inputs_set(
int *
self,
const size_t i,
double x);
75 void modena_inputs_set(
int *
self,
const size_t i,
double x)
79 void modena_inputs_destroy(
int *inputs);
80 void modena_inputs_destroy(
int *
self)
84 void modena_outputs_destroy(
int *inputs);
85 void modena_outputs_destroy(
int *
self)
94 double modena_outputs_get(
int *
self,
const size_t i);
95 double modena_outputs_get(
int *
self,
const size_t i)
112 bool modena_error_occurred();
113 bool modena_error_occurred()
size_t modena_model_inputs_argPos(const modena_model_t *self, const char *name)
Function determining position of an argument in the input vector.
int * modena_model_new(const char *modelId)
Function fetching a surrogate model from MongoDB.
int modena_model_call(modena_model_t *self, modena_inputs_t *inputs, modena_outputs_t *outputs)
Function calling the surrogate model and checking for errors.
real(dp), dimension(:), allocatable d
diffusion coefficients (for each dissolved gas)
void modena_model_destroy(modena_model_t *self)
Function deallocating the memory allocated for the surrogate model.
size_t modena_model_outputs_argPos(const modena_model_t *self, const char *name)
Function determining position of a result in the output vector.
void modena_model_argPos_check(const modena_model_t *self)
Function checking that the user has queried all input positions.