Description of a user model parameter loaded from the mbs file. More...
#include <mbs_binder_public.h>
Public Attributes | |
char * | name |
Name of the parameter in the user model. More... | |
int | type |
Type of the parameter between 1 and 7. More... | |
int | n_value |
Number of values in the parameter. More... | |
double * | value_list |
Vector (index starting at 1) containing the values retrieved from the multibody file. More... | |
void * | val_ptr |
Pointer to the memory storing the value. More... | |
MbsInfoDData ** | d_value |
d_data for the value. More... | |
int | is_symmmetric |
asymmetric = 0, symmetric master = 1, symmetric salve = 2. More... | |
char * | symmetric_parameter_name |
The name of the symmetric parameter. More... | |
char * | structure_name |
Name of the structure, filled if the parameter is a structure. More... | |
char * | structure_header |
Header name with path (relative or absolute) of header describing a structure parameter. More... | |
int | flag_PRJPATH |
Flag to indicate that the path to the data file start from the project path (stored as "PRJPATH" in mbs file). More... | |
char * | structure_lutfile |
File and path (relative or absolute) to the file containing the Look-up-Table dats. More... | |
Description of a user model parameter loaded from the mbs file.
MbsInfoDData** d_value |
d_data for the value.
int flag_PRJPATH |
Flag to indicate that the path to the data file start from the project path (stored as "PRJPATH" in mbs file).
int is_symmmetric |
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
int n_value |
Number of values in the parameter.
char* name |
Name of the parameter in the user model.
char* structure_header |
Header name with path (relative or absolute) of header describing a structure parameter.
NULL if the parameter is not a structure.
char* structure_lutfile |
File and path (relative or absolute) to the file containing the Look-up-Table dats.
NULL if the parameter is not a 1D or 2D Look-up-Table.
char* structure_name |
Name of the structure, filled if the parameter is a structure.
NULL if the parameter is not a structure.
char* symmetric_parameter_name |
The name of the symmetric parameter.
Filled if master, NULL if slave or non symetric.
int type |
Type of the parameter between 1 and 7.
Valid values are: 1: scalar (one value); 2: vector (one or multiple values); 3: 1D Look-Up-Table; 4: 2D Look-Up-Table; 5: user state (one or multiple values); 6: structure; 7: integer (one value).
Each parameter may have zero, one or more values.
void* val_ptr |
Pointer to the memory storing the value.
The destination of the pointer differs according to parameter type:
This destination is updated by the function mbs_bind_user_model:
double* value_list |
Vector (index starting at 1) containing the values retrieved from the multibody file.
Intergers are interpreted as double during loading.