#include "mbs_errors_names.h"
#include "mbs_data.h"
#include "mbs_message.h"
#include "mbs_user_interface.h"
#include "mbs_check.h"
#include "mbs_project_interface.h"
Functions | |
int | mbs_check_nhu_nqv (MbsData *mbs_data) |
Check the coherence between the number of (independant) constraints and the number of dependant variables. More... | |
int | mbs_check_n_IO (UserIoInfo *user_IO_info, int n_in, int n_out, int n_user_IO) |
Check the coherence between the number of user_IO ports between .mbs and user_IO.c files. More... | |
int | mbs_check_n_user_model (int Nuser_model, int n_usr_model) |
Check the coherence between the number of user_model between MBS data file and user_model.c files. More... | |
int | mbs_check_user_model_list (int *user_model_list_mbs, int Nuser_model, int *user_model_list_c) |
Check the coherence between the number of user_model between MBS data file and user_model.c files. More... | |
int | mbs_check_mbs_data_values (MbsAux *module_mbs_aux, MbsData *mbs_data) |
Check the coherence between the mbs_data used before module initialization and module run. More... | |
Creation date: 18/03/2019
(c) Universite catholique de Louvain
int mbs_check_mbs_data_values | ( | MbsAux * | module_mbs_aux, |
MbsData * | mbs_data | ||
) |
Check the coherence between the mbs_data used before module initialization and module run.
[in] | mbs_data | MbsData structure to check |
[in] | module_mbs_aux | MbsAux structure to check, related to a module (ie: MbsDirdyn::mbs_aux) |
int mbs_check_n_IO | ( | UserIoInfo * | user_IO_info, |
int | n_in, | ||
int | n_out, | ||
int | n_user_IO | ||
) |
Check the coherence between the number of user_IO ports between .mbs and user_IO.c files.
[in] | user_IO_info | user_IO_info structure containing UserIoInfo from .mbs, to check |
int mbs_check_n_user_model | ( | int | Nuser_model, |
int | n_usr_model | ||
) |
Check the coherence between the number of user_model between MBS data file and user_model.c files.
[in] | Nuser_model | number of user models from .mbs, to check |
[in] | n_usr_model | number of user models from user_model.c file, to check |
int mbs_check_nhu_nqv | ( | MbsData * | mbs_data | ) |
Check the coherence between the number of (independant) constraints and the number of dependant variables.
[in] | mbs_data | MbsData structure to check |
int mbs_check_user_model_list | ( | int * | user_model_list_mbs, |
int | Nuser_model, | ||
int * | user_model_list_c | ||
) |
Check the coherence between the number of user_model between MBS data file and user_model.c files.
[in] | user_model_list_mbs | array structure containing the numbers of parameters for all user models from .mbs file, to check |
[in] | Nuser_model | number of user models from .mbs, to check |
[in] | user_model_list_c | array structure containing the numbers of parameters for all user models from user_model.c file, to check |
IMPORTANT : The two lists "user_model_list_mbs" and "user_model_list_c" are ivec of size 'Nuser_model' They contain the number of parameter of user_models : user_model_list_mbs[0] = Nuser_model user_model_list_mbs[1] = Number of parameters of first user_model, from the MBS data file The lenghts must be the same ! (checked before)