MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
modena_model_t Struct Reference

stores a surrogate model More...

#include <model.h>

Data Fields

PyObject_HEAD PyObject * pModel
 
size_t outputs_size
 
size_t inputs_size
 
size_t inputs_internal_size
 
double * inputs_min
 
double * inputs_max
 
bool * argPos_used
 
size_t parameters_size
 
double * parameters
 
struct modena_function_tmf
 
void(* function )(const struct modena_model_t *model, const double *i, double *o)
 
size_t substituteModels_size
 
modena_substitute_model_tsubstituteModels
 
char ** inputs_names
 
char ** outputs_names
 
char ** parameters_names
 

Detailed Description

stores a surrogate model

Definition at line 94 of file model.h.

Field Documentation

◆ argPos_used

bool* modena_model_t::argPos_used

Indicators used to track argument usage.

Definition at line 110 of file model.h.

◆ function

void(* modena_model_t::function) (const struct modena_model_t *model, const double *i, double *o)

Function pointer to pre-compiled surrogate function

Definition at line 119 of file model.h.

◆ inputs_internal_size

size_t modena_model_t::inputs_internal_size

Length of internal input vector.

Definition at line 104 of file model.h.

◆ inputs_max

double* modena_model_t::inputs_max

Upper bounds of the input arguments.

Definition at line 108 of file model.h.

◆ inputs_min

double* modena_model_t::inputs_min

Lower bounds of the input arguments.

Definition at line 106 of file model.h.

◆ inputs_names

char** modena_model_t::inputs_names

Surrogate model inputs names

Definition at line 129 of file model.h.

◆ inputs_size

size_t modena_model_t::inputs_size

Length of input vector.

Definition at line 102 of file model.h.

◆ mf

struct modena_function_t* modena_model_t::mf

Surrogate function modena_function_t

Definition at line 116 of file model.h.

◆ outputs_names

char** modena_model_t::outputs_names

Surrogate model outputs names

Definition at line 130 of file model.h.

◆ outputs_size

size_t modena_model_t::outputs_size

Length of output vector.

Definition at line 100 of file model.h.

◆ parameters

double* modena_model_t::parameters

Surrogate model parameter values

Definition at line 114 of file model.h.

◆ parameters_names

char** modena_model_t::parameters_names

Surrogate model parameter names

Definition at line 131 of file model.h.

◆ parameters_size

size_t modena_model_t::parameters_size

Length of parameter vector.

Definition at line 112 of file model.h.

◆ pModel

PyObject_HEAD PyObject* modena_model_t::pModel

Reference to python object.

Definition at line 98 of file model.h.

◆ substituteModels

modena_substitute_model_t* modena_model_t::substituteModels

Substitute models modena_substitute_model_t

Definition at line 127 of file model.h.

◆ substituteModels_size

size_t modena_model_t::substituteModels_size

Length of substitute models vector

Definition at line 125 of file model.h.


The documentation for this struct was generated from the following file: