|
Robotran C Documentation
|
int * qrot
Array with the indices of the rotational articulations (incremental values)
Definition: mbs_data.h:184
MbsData * mbs_load(const char *mbs_filename, const char *build_name)
Load the data from the given *.mbs file (data in the xml format).
Definition: mbs_loader.c:36
MbsLoadOptions * opts
Definition: mbs_loader.h:41
int * qdriven
Definition: mbs_binder_public.h:190
#define mbs_new_user_model()
Definition: mbs_loader.c:18
int * MDS_translate_q(int *q_mds, int nq, int nj)
return a (nj sized) vector (starting at index 1) of integer which is a copy of the provided (nq sized...
Definition: mbs_loader.c:458
int n_rod
Definition: mbs_binder_public.h:241
MbsData * mbs_load_with_loader(const char *mbs_filename, const char *build_path, MbsLoader *mbs_loader)
Load the data from the given MbsInfos.
Definition: mbs_loader.c:54
MbsInfoCuts * cuts
Definition: mbs_binder_public.h:388
double * pt
Array with the coordinates (x, y, z) of the point relative to the origin of the body expressed in the...
Definition: mbs_binder_public.h:98
int n_state
Definition: mbs_binder_public.h:409
int * xfidpt
Array of the points defined as force application points.
Definition: mbs_data.h:264
int mbs_load_user_functions(MbsData *mbs_data, const char *userfctLib_path, const char *userfctLib_name)
specific functions
Definition: mbs_load_libraries.c:204
char * get_char_cpy(const char *fmt,...)
Copy the provided formatted string into a newly allocated memory.
Definition: useful_functions.c:191
int n_qv
Definition: mbs_binder_public.h:180
int Ncons
Number of algebraic constraints.
Definition: mbs_data.h:218
Definition: user_model.h:24
double * value_list
Vector (index starting at 1) containing the values retrieved from the multibody file.
Definition: mbs_binder_public.h:289
double * qd
Array with the current values of the generalized velocities.
Definition: mbs_data.h:188
int * qa
Array with the indices of actuated articulations (only for inverse dynamic).
Definition: mbs_data.h:180
double dt0
Initial value of the integration step size [s]. For dirdyn and invdyn only. This parameter is set fro...
Definition: mbs_data.h:212
int * size_out
size_out[i] = size of i-th user output
Definition: mbs_user_interface.h:48
double * m
Array containing the mass of each body.
Definition: mbs_data.h:155
int DonePart
Flag that indicates if the coordinate partitioning module has been executed (default: 0=not done; 1=d...
Definition: mbs_data.h:293
UserIO * user_IO
Definition: mbs_data.h:279
MbsInfoParameter ** state_list
Definition: mbs_binder_public.h:411
int n_out
Definition: mbs_binder_public.h:360
mbs_cons_hJ_ptr mbs_cons_hJ
Definition: mbs_data.h:76
user_equil_finish_ptr user_equil_finish
Definition: mbs_data.h:99
double qdd0
Initial acceleration of the joint.
Definition: mbs_binder_public.h:130
double tsim
The time value.
Definition: mbs_data.h:208
void mbs_info_structurer(MbsInfos *mbs_infos)
Definition: mbs_loader_public.c:90
int nqrot
Number of rotational joint (R1, R2 or R3)
Definition: mbs_data.h:172
int Nlink3D
Number of 3D links.
Definition: mbs_data.h:238
Contains information about UserIO.
Definition: mbs_user_interface.h:44
char * mbs_filename
Path to mbs file including the file with the extension (.mbs)
Definition: mbs_data.h:310
MbsInfoBase * base
Definition: mbs_binder_public.h:386
void mbs_delete_data(MbsData *s)
Free the memory used by the given MbsData structure.
Definition: mbs_loader.c:985
void mbs_error_msg(char *msg,...)
Send an error message.
Definition: mbs_message.c:102
int nqv
Number of dependent articulations.
Definition: mbs_data.h:170
mbs_link_ptr mbs_link
Definition: mbs_data.h:70
mbs_new_user_model_ptr mbs_new_user_model
Definition: mbs_data.h:112
int DoneEquil
Flag that indicates if the equilibrium module has been executed (default: 0=not done; 1=done).
Definition: mbs_data.h:294
int * qc
Array with the indices of driven (locked and driven) articulations.
Definition: mbs_data.h:175
double * ux0
Array with the initial values of the user variables.
Definition: mbs_data.h:287
mbs_invdyna_ptr mbs_invdyna
Definition: mbs_data.h:75
#define _MBS_ERR_MOD_LOAD
Module error number module: Loading = -900.
Definition: mbs_errors_names.h:73
int nqu
Number of independent articulations.
Definition: mbs_data.h:165
#define _MBS_ERR_LOW_FILES
Low Level error number Error during opening/writing files = -9.
Definition: mbs_errors_names.h:147
MbsInfoUserIO ** user_IO_list
Definition: mbs_binder_public.h:361
char * userfctLib_name
Definition: mbs_loader.h:19
MbsLoader * mbs_new_loader()
Create a new structure loader used for the loading with options.
Definition: mbs_loader.c:283
double * MBSdata_d_ptr
link in the creation of mbs_data
Definition: mbs_binder_public.h:40
int njoint
Number of joints in the system.
Definition: mbs_data.h:162
struct Functions::@7 symb
double tf
Final time of the simulation [s]. For dirdyn and invdyn only. This parameter is set from dirdyn/invyn...
Definition: mbs_data.h:211
int npt
Number of anchor points.
Definition: mbs_data.h:152
mbs_delete_user_model_ptr mbs_delete_user_model
Definition: mbs_data.h:113
user_equil_init_ptr user_equil_init
Definition: mbs_data.h:97
int n_qrot
Definition: mbs_binder_public.h:195
user_dirdyn_init_ptr user_dirdyn_init
Definition: mbs_data.h:89
user_equil_loop_ptr user_equil_loop
Definition: mbs_data.h:98
double * gravity
Array with the component (x, y, z) of the gravity vector expressed in the inertial frame.
Definition: mbs_binder_public.h:114
int n_in
number of user input port
Definition: mbs_user_interface.h:45
int n_ball
Definition: mbs_binder_public.h:240
mbs_save_um_ptr mbs_save_um
Definition: mbs_data.h:121
void mbs_set_user_fun_null(MbsData *s)
Set the pointer to project user functions to NULL.
Definition: mbs_loader.c:315
double mass
Mass of the body.
Definition: mbs_binder_public.h:160
MbsLoadOptions * mbs_new_load_options()
Create a new structure with options for the loading.
Definition: mbs_loader.c:265
int * qu
Definition: mbs_binder_public.h:178
user_dirdyn_loop_ptr user_dirdyn_loop
Definition: mbs_data.h:90
int n_joint
Definition: mbs_binder_public.h:174
#define mbs_load_user_model(mbs_infos, um)
Definition: mbs_loader.c:19
int size
type=1: in ; type=2
Definition: mbs_binder_public.h:353
@ LOAD_ALL
Definition: mbs_loader.h:37
Definition: mbs_binder_public.h:384
int Nux
Number of user variable.
Definition: mbs_data.h:288
void mbs_load_user_model(MbsInfos *mbs_infos, UserModel *ums)
Load the user model data.
Definition: user_model.c:35
void copy_dvec_1(double *vec_src, double *vec_dest)
Copy the content of a vector (of size specified in vec_src[0]) of doubles to a second vector,...
Definition: mbs_1D_array.c:916
int flag_jac_position
Flag to compute the Jacobian of the constraint for position or velocity solution.
Definition: mbs_data.h:299
double ** jac_user
Jacobian of constraints [nqv x njoint] (starting at 1), only used in symbolic accelred,...
Definition: mbs_data.h:229
double zero_division_thrs
Value from which a warning is raised if a division by zero (or close to) occurs. Default=1....
Definition: mbs_data.h:308
user_ExtForces_ptr user_ExtForces
Definition: mbs_data.h:109
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....
Definition: mbs_check.c:60
int type
Definition: mbs_binder_public.h:352
int DoneModal
Flag that indicates if the modal module has been executed (default: 0=not done; 1=done).
Definition: mbs_data.h:295
mbs_dirdyna_ptr mbs_dirdyna
Definition: mbs_data.h:74
int flag_optim_symb_sin_cos
allow the "optimisation" of the computation of the sine/cosine in the symbolic files....
Definition: mbs_data.h:198
#define mbs_get_user_model_size(n_usr_model)
Definition: mbs_loader.c:22
double ** SWr
Array of Swr vector for each external forces.
Definition: mbs_data.h:265
void mbs_delete_load_options(MbsLoadOptions *opts)
Free the memory associated to the given MbsLoadOptions.
Definition: mbs_loader.c:279
mbs_link3D_ptr mbs_link3D
Definition: mbs_data.h:71
double * q_cos
Array with the cosine values of the generalized coordinates, if rotational (if translational,...
Definition: mbs_data.h:197
user_Link3DForces_ptr user_Link3DForces
Definition: mbs_data.h:108
int * hu
Array with the indices of independent constraints.
Definition: mbs_data.h:183
int * qv
Definition: mbs_binder_public.h:181
int Nxfrc
Number of points where an external force is applied into a body.
Definition: mbs_data.h:263
MbsInfoRod ** rod_list
Definition: mbs_binder_public.h:245
#define mbs_delete_user_IO(uio)
Definition: mbs_loader.c:25
int * qa
Definition: mbs_binder_public.h:193
int * get_ivec_1(int l_v)
create (with memory allocation) a vector (length l_v) of integers, starting at index 1
Definition: mbs_1D_array.c:404
int * extforce_point_list
Definition: mbs_binder_public.h:407
double * qd0
Array with the initial values of the generalized velocities.
Definition: mbs_data.h:192
int * qc
Definition: mbs_binder_public.h:184
mbs_get_user_model_list_ptr mbs_get_user_model_list
Definition: mbs_data.h:120
MbsData * mbs_new_data()
Allocate an MbsData structure with default field values (NULL, 0).
Definition: mbs_loader.c:897
mbs_print_user_IO_ptr mbs_print_user_IO
Definition: mbs_data.h:122
int Nlink
Number of forces acting between two points of the system (force law implemented in user_LinkForces())...
Definition: mbs_data.h:237
mbs_load_user_model_ptr mbs_load_user_model
Definition: mbs_data.h:116
double * inertia
Array with the inertia tensor (Ixx, Ixy, Ixz, Iyy, Iyz, Izz) of the body relative to the center of ma...
Definition: mbs_binder_public.h:162
int flag_safety_checks
Flag to activate safety checks everywhere in mbsysc core. Faster computation if this flag is put to 0...
Definition: mbs_data.h:307
user_free_ptr user_free
Definition: mbs_data.h:87
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
@ LOAD_NONE
Definition: mbs_loader.h:37
void mbs_delete_infos(MbsInfos *mbs_infos)
Definition: mbs_loader_public.c:1163
UserIoInfo * __user_IO_info
Definition: mbs_data.h:280
MbsInfoDData * d_qf
d_data for the forced q
Definition: mbs_binder_public.h:134
int * qlocked
Definition: mbs_binder_public.h:187
int n_qa
Definition: mbs_binder_public.h:192
mbs_sensor_ptr mbs_sensor
Definition: mbs_data.h:78
int MAX_NR_ITER
Maximal number of iterations for NR procedure, default 100.
Definition: mbs_data.h:221
int Nuserc
Number of user constraints.
Definition: mbs_data.h:219
user_equil_fxe_ptr user_equil_fxe
Definition: mbs_data.h:100
double * Fl
Array with the current values of the forces on each link (see: user_LinkForces()).
Definition: mbs_data.h:241
double qd0
Initial velocity of the joint.
Definition: mbs_binder_public.h:129
int * qu
Array with the indices of the independent articulations (free)
Definition: mbs_data.h:174
MbsInfoUserIOs * user_IOs
Definition: mbs_binder_public.h:391
double NRerr
Maximal error on constraint allowed in Newton-Raphson algorithm, default 1.0e-9.
Definition: mbs_data.h:220
MbsLoadOptions * mbs_new_load_options()
Create a new structure with options for the loading.
Definition: mbs_loader.c:265
Definition: mbs_loader.h:39
double ** trq
Matrix with the components of the resultant external torques (pure torque and couple produced by forc...
Definition: mbs_data.h:203
int * qv
Array with the indices of the dependent articulations .
Definition: mbs_data.h:182
double * Qc
Array with the value of joint force introduced in driven joint to respect the user function.
Definition: mbs_data.h:233
int Nloopc
Number of loop constraints.
Definition: mbs_data.h:217
int n_parameter
Definition: mbs_binder_public.h:337
double ** ptr_in
ptr_in[i][0] = pointer to the 1st element of the i-th input must be copied
Definition: mbs_user_interface.h:49
mbs_extforces_ptr mbs_extforces
Definition: mbs_data.h:72
user_cons_hJ_ptr user_cons_hJ
Definition: mbs_data.h:104
double * Zd
Array with the current values of the speed (spreading) between of the points of a link (see: user_Lin...
Definition: mbs_data.h:240
user_LinkForces_ptr user_LinkForces
Definition: mbs_data.h:107
MbsData * mbs_info_to_data(MbsInfos *mbs_infos, MbsData *s)
Retrieve a MbsData structure from the given MbsInfos.
Definition: mbs_loader.c:474
double * Qq
Array with the values of the joint forces.
Definition: mbs_data.h:204
char * userfctLib_path
Definition: mbs_loader.h:20
Definition: mbs_binder_public.h:357
double * q
Array with the current values of the generalized coordinates.
Definition: mbs_data.h:187
void free_dvec_1(double *vec)
release memory for a vector of doubles, starting at index 1
Definition: mbs_1D_array.c:901
int n_user_IO
Definition: mbs_binder_public.h:359
int n_state_value
Definition: mbs_binder_public.h:410
double ** In
Array containing the inertia tensor component of each body (in the body fixed frame,...
Definition: mbs_data.h:156
@ LOAD_SYMBOLIC
Definition: mbs_loader.h:37
int Nsensor
< Array of l3DWr vector for each 3D link forces.
Definition: mbs_data.h:260
char * project_path
Path to the mbs project folder.
Definition: mbs_data.h:312
#define mbs_delete_user_model(um)
Definition: mbs_loader.c:21
int n_qc
Definition: mbs_binder_public.h:183
void mbs_delete_load_options(MbsLoadOptions *opts)
Free the memory associated to the given MbsLoadOptions.
Definition: mbs_loader.c:279
MbsDataLibInfo * symbolicLibHandle
Definition: mbs_data.h:62
int find_project_path(const char *mbsfile, char *prjpath)
Find the project directory (containing dataR, symbolicR, ...).
Definition: mbs_path.c:36
int nqdriven
Number of driven articulations.
Definition: mbs_data.h:168
void mbs_set_symb_fun_null(MbsData *s)
Set the pointer to project symbolic functions to NULL.
Definition: mbs_loader.c:300
int n_sensor
Definition: mbs_binder_public.h:403
MbsInfoBody ** body_list
Definition: mbs_binder_public.h:172
user_realtime_options_ptr user_realtime_options
Definition: mbs_data.h:126
Functions fct
Structure to store the pointer to the project-specific functions.
Definition: mbs_data.h:316
user_Derivative_ptr user_Derivative
Definition: mbs_data.h:102
void mbs_delete_loader(MbsLoader *loader)
Free the memory associated to the given MbsLoader.
Definition: mbs_loader.c:294
int load_symb_user
Definition: mbs_loader.h:22
UserIoInfo * mbs_xml_create_user_IO_info(MbsInfos *mbs_infos, MbsData *s)
Definition: mbs_loader.c:396
mbs_get_user_model_size_ptr mbs_get_user_model_size
Definition: mbs_data.h:119
double ** frc
Matrix with the components of the resultant external forces (in the body fixed frame) applied to the ...
Definition: mbs_data.h:202
MbsInfos * mbs_info_reader(const char *mbs_filename)
Read the mbs file to retrieve size informations (number of joints...).
Definition: mbs_loader_public.c:12
int n_qu
Definition: mbs_binder_public.h:177
int n_qdriven
Definition: mbs_binder_public.h:189
MbsInfos * mbs_infos
Definition: mbs_loader.h:42
void mbs_set_user_fun_null(MbsData *s)
Set the pointer to project user functions to NULL.
Definition: mbs_loader.c:315
int * size_in
size_in[i] = size of i-th user input
Definition: mbs_user_interface.h:47
int nqc
Number of driven articulations, it includes qlocked and qdriven.
Definition: mbs_data.h:166
double ** l3DWr
Definition: mbs_data.h:243
MbsInfoLinks * links
Definition: mbs_binder_public.h:389
UserModel * user_model
Structure containing all user model, this structure is specific for each project.
Definition: mbs_data.h:276
char * symbolicLib_name
Definition: mbs_loader.h:16
#define mbs_bind_user_model(mbs_infos, um)
Definition: mbs_loader.c:20
MbsInfoDData ** d_pt
Definition: mbs_binder_public.h:103
mbs_print_user_model_ptr mbs_print_user_model
Definition: mbs_data.h:118
mbs_accelred_ptr mbs_accelred
Definition: mbs_data.h:73
double ** dpt
Array containing the coordinate of all anchor points (3+1 lines, npt+1 columns).
Definition: mbs_data.h:153
#define mbs_new_user_IO(a)
Definition: mbs_loader.c:24
#define mbs_get_user_IO_size(n_in, n_out, n_user_IO)
Definition: mbs_loader.c:26
int n_solid
Definition: mbs_binder_public.h:242
int n_value
Number of values in the parameter.
Definition: mbs_binder_public.h:287
char * mbs_name
Name of the mbs project as it is stored in the xml file.
Definition: mbs_data.h:313
int n_user_model
Definition: mbs_binder_public.h:344
double * com
Array with the coordinate (x, y, z) of the center of mass of the body relative to the origin of the b...
Definition: mbs_binder_public.h:161
double * q0
Array with the initial values of the generalized coordinates.
Definition: mbs_data.h:191
char * symbolicLib_path
Definition: mbs_loader.h:17
#define mbs_get_user_model_list(user_model_list)
Definition: mbs_loader.c:23
void mbs_delete_user_IO_info(UserIoInfo *ioInfo)
Definition: mbs_loader.c:435
Definition: mbs_data.h:149
int n_qlocked
Definition: mbs_binder_public.h:186
mbs_get_user_IO_size_ptr mbs_get_user_IO_size
Definition: mbs_data.h:115
mbs_gensensor_ptr mbs_gensensor
Definition: mbs_data.h:79
MbsInfoPoint ** point_list
Definition: mbs_binder_public.h:398
void mbs_delete_data(MbsData *s)
Free the memory used by the given MbsData structure.
Definition: mbs_loader.c:985
int n_rod
Number of rod constraint in the system.
Definition: mbs_data.h:215
user_cons_J_accelred_ptr user_cons_J_accelred
Definition: mbs_data.h:106
void mbs_set_user_IO(UserIoInfo *ioInfo, double val)
Implementation of utility function for user_IO ==> should be moved (see def in mbs_user_interface....
Definition: mbs_loader.c:375
MbsDataLibInfo * userfctLibHandle
Definition: mbs_data.h:63
int * qlocked
Array with the indices of locked articulations.
Definition: mbs_data.h:176
double * Qa
Array of active joint forces (in case of simulink,invdyna,equil,linearization,...)
Definition: mbs_data.h:205
user_load_post_ptr user_load_post
Definition: mbs_data.h:86
struct Functions::@8 user
int Nuser_model
Number of declared user models in MBsysPad.
Definition: mbs_data.h:275
char * build_path
Path to the build folder.
Definition: mbs_data.h:311
mbs_new_user_IO_ptr mbs_new_user_IO
Definition: mbs_data.h:111
int * qrot
Definition: mbs_binder_public.h:196
int process
Flag that indicate which module is currently running (1=partitioning, 2=equilibrium,...
Definition: mbs_data.h:297
MbsInfoBodytree * bodytree
Definition: mbs_binder_public.h:387
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....
Definition: mbs_check.c:50
int nbody
Number of bodies in the system.
Definition: mbs_data.h:160
double ** l
Array containing the center of mass coordinates (in the body fixed frame, one column per body includi...
Definition: mbs_data.h:154
#define user_free(data)
Definition: mbs_loader.c:28
double ** ptr_out
ptr_out[i][0] = pointer to the 1st element of the i-th output must be copied
Definition: mbs_user_interface.h:50
double t0
Initial time of the simulation [s]. For dirdyn and invdyn only. This parameter is set from dirdyn/inv...
Definition: mbs_data.h:210
MbsData * mbs_load_with_loader(const char *mbs_filename, const char *build_path, MbsLoader *mbs_loader)
Load the data from the given MbsInfos.
Definition: mbs_loader.c:54
double length
Definition: mbs_binder_public.h:218
void free_ivec_1(int *vec)
release memory for a vector of integers, starting with index 1
Definition: mbs_1D_array.c:420
user_cons_jdqd_ptr user_cons_jdqd
Definition: mbs_data.h:105
MbsInfoUserModel ** user_model_list
Definition: mbs_binder_public.h:345
user_DrivenJoints_ptr user_DrivenJoints
Definition: mbs_data.h:103
int mbs_load_symbolic_functions(MbsData *mbs_data, const char *symbolicLib_path, const char *symbolicLib_name)
Loads the symbolic functions from library into MbsData structure.
Definition: mbs_load_libraries.c:159
double * Z
Array with the current values of the distances between of the points of a link (see: user_LinkForces(...
Definition: mbs_data.h:239
double g[3+1]
The 3 gravity components.
Definition: mbs_data.h:158
int flag_stop
stop the simulation. For dirdyn, equil, invdyn and solvekin only.
Definition: mbs_data.h:298
double * get_dvec_1(int l_v)
create (with memory allocation) a vector (length l_v) of doubles, starting at index 1
Definition: mbs_1D_array.c:885
void mbs_delete_loader(MbsLoader *loader)
Free the memory associated to the given MbsLoader.
Definition: mbs_loader.c:294
mbs_bind_user_model_ptr mbs_bind_user_model
Definition: mbs_data.h:117
int n_body
Definition: mbs_binder_public.h:171
void free_dmat_1(double **mat)
release memory for a matrix of doubles, starting at index 1
Definition: mbs_matrix.c:301
void copy_dvec_0(double *vec_src, double *vec_dest, int l_v)
Copy the content of a vector (of sizel_v) of doubles to a second vector, starting with index 0.
Definition: mbs_1D_array.c:906
void mbs_bind_user_model(MbsInfos *mbs_infos, UserModel *ums)
Bind the user model data to the MbsInfos memory pointers.
Definition: user_model.c:40
int * qdriven
Array with the indices of driven articulations.
Definition: mbs_data.h:178
MbsInfoUserModels * user_models
Definition: mbs_binder_public.h:390
double q0
Initial position of the joint.
Definition: mbs_binder_public.h:128
#define user_load_post(data)
Definition: mbs_loader.c:27
double * lambda
Array with the values of the Lagrange Multipliers related to the constraints.
Definition: mbs_data.h:222
double ** get_dmat_1(int nb_r, int nb_c)
create (with memory allocation) a [nb_r times nb_c] matrix of doubles, starting at index 1
Definition: mbs_matrix.c:255
double * uxd
Array with the values of the time derivatives of the user variables.
Definition: mbs_data.h:286
double * q_sin
Array with the sine values of the generalized coordinates, if rotational (if translational,...
Definition: mbs_data.h:196
double * qdd0
Array with the initial values of the generalized acceleration.
Definition: mbs_data.h:193
int n_out
number of user output port
Definition: mbs_user_interface.h:46
int nqa
Number of actuated articulations.
Definition: mbs_data.h:169
mbs_delete_user_IO_ptr mbs_delete_user_IO
Definition: mbs_data.h:114
int nqlocked
Number of locked articulations.
Definition: mbs_data.h:167
mbs_save_user_IO_ptr mbs_save_user_IO
Definition: mbs_data.h:123
double * qdd
Array with the current values of the generalized acceleration.
Definition: mbs_data.h:189
MbsData * mbs_load(const char *mbs_filename, const char *build_path)
Load the data from the given *.mbs file (data in the xml format).
Definition: mbs_loader.c:36
mbs_cons_jdqd_ptr mbs_cons_jdqd
Definition: mbs_data.h:77
MbsInfoJoint ** joint_list
Definition: mbs_binder_public.h:175
MbsInfoDData * d_length
Definition: mbs_binder_public.h:220
double * jdqd_user
Vector of jdqd for user constraints [nqv] (starting at 1), only used in symbolic accelred,...
Definition: mbs_data.h:230
int n_link
Definition: mbs_binder_public.h:261
char * mbsname
Definition: mbs_binder_public.h:394
MbsData * mbs_info_to_data(MbsInfos *mbs_infos, MbsData *s)
Retrieve a MbsData structure from the given MbsInfos.
Definition: mbs_loader.c:474
int n_extforce
Definition: mbs_binder_public.h:406
int n_point
Definition: mbs_binder_public.h:397
int n_in
Definition: mbs_binder_public.h:360
double * udd
For axelle red: array with the values of the acceleration of independent coordinate.
Definition: mbs_data.h:291
double * ux
Array with the values of the user variables.
Definition: mbs_data.h:285
MbsLoader * mbs_new_loader()
Create a new structure loader used for the loading with options.
Definition: mbs_loader.c:283
void mbs_close_libraries(MbsData *mbs_data)
Close the symbolic and userfct libraries associated to the given MbsData.
Definition: mbs_load_libraries.c:290
user_JointForces_ptr user_JointForces
Definition: mbs_data.h:84
int nhu
Number of independent constraints.
Definition: mbs_data.h:171
double * lrod
Array with the length of each rod.
Definition: mbs_data.h:216
int n_link3D
Definition: mbs_binder_public.h:264
MbsData * mbs_new_data()
Allocate an MbsData structure with default field values (NULL, 0).
Definition: mbs_loader.c:897
int n_user_IO
Definition: mbs_data.h:278
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.
Definition: mbs_check.c:30
void mbs_set_symb_fun_null(MbsData *s)
Set the pointer to project symbolic functions to NULL.
Definition: mbs_loader.c:300
Definition: mbs_loader.h:14
user_dirdyn_finish_ptr user_dirdyn_finish
Definition: mbs_data.h:91
int n_joint
Number of joints leaving the body.
Definition: mbs_binder_public.h:157