Robotran C Documentation
mbs_linearipk_struct.h
Go to the documentation of this file.
1 
14 #ifndef MBS_LINEARIPK_STRUCT_h
15 #define MBS_LINEARIPK_STRUCT_h
16 
17 
18 
19 typedef struct MbsLpk // computation structure necessary for MBS equation linearization through lpk method
20 {
21  int *diverge_ind; // size n_x
22  int n_diverge;
23  double maxcomp;
24 
25  double *q_saved;
26  double *qd_saved;
27  double *qdd_saved;
28  double *Qq_saved;
29  double *ux_saved;
30 
31  int nx;
32  int nF;
33 
34  double **x_ptr;
35 
36  double *x_star;
37  double *x_mid;
38  double *x_ext;
39 
40  double *F_star;
41  double *F_mid;
42  double *F_ext;
43 
44  double **GK_prem;
45  double **GK_comp; // the matrix at former iteration of the parabolic fitting
46 
47  int verbose;
48 
49  int itermax;
50  double relincr;
51  double absincr;
52  double absincr_max;
53  double equitol;
54  double lintol;
55 
56 } MbsLpk;
57 
58 #endif
MbsLpk::qd_saved
double * qd_saved
qd saved configuration
Definition: mbs_linearipk_struct.h:26
MbsLpk::absincr_max
double absincr_max
Maximum increment value of variables, set to 0.0 to disable it [default = 0.0].
Definition: mbs_linearipk_struct.h:52
MbsLpk::q_saved
double * q_saved
q saved configuration (because lienaripk uses the mbs_data structure in the process)
Definition: mbs_linearipk_struct.h:25
MbsLpk::F_star
double * F_star
force vector for the reference configuration.
Definition: mbs_linearipk_struct.h:40
MbsLpk::relincr
double relincr
options for the lpk linearization [default = 1e-2]
Definition: mbs_linearipk_struct.h:50
MbsLpk
Definition: mbs_linearipk_struct.h:19
MbsLpk::n_diverge
int n_diverge
Definition: mbs_linearipk_struct.h:22
MbsLpk::maxcomp
double maxcomp
Definition: mbs_linearipk_struct.h:23
MbsLpk::x_ptr
double ** x_ptr
vector of pointers pointing to the linearized variables
Definition: mbs_linearipk_struct.h:34
MbsLpk::absincr
double absincr
Minimum increment value of variables [default = 1e-3].
Definition: mbs_linearipk_struct.h:51
MbsLpk::GK_prem
double ** GK_prem
Definition: mbs_linearipk_struct.h:44
MbsLpk::F_mid
double * F_mid
force vector for the middle configuration.
Definition: mbs_linearipk_struct.h:41
MbsLpk::itermax
int itermax
options for the lpk linearization [default = 10]
Definition: mbs_linearipk_struct.h:49
MbsLpk::x_mid
double * x_mid
middle configuration (for parabolic fitting iteration)
Definition: mbs_linearipk_struct.h:37
MbsLpk::x_star
double * x_star
reference configuration (for the modal analysis, typically an equilibrium configuration)
Definition: mbs_linearipk_struct.h:36
MbsLpk::F_ext
double * F_ext
force vector for the extreme configuration.
Definition: mbs_linearipk_struct.h:42
MbsLpk::diverge_ind
int * diverge_ind
Definition: mbs_linearipk_struct.h:21
MbsLpk::x_ext
double * x_ext
extreme configuration (for parabolic fitting iteration)
Definition: mbs_linearipk_struct.h:38
MbsLpk::Qq_saved
double * Qq_saved
Qq saved configuration.
Definition: mbs_linearipk_struct.h:28
MbsLpk::qdd_saved
double * qdd_saved
qdd saved configuration (because mbs_data-qdd is modified in the dirdynared call)
Definition: mbs_linearipk_struct.h:27
MbsLpk::verbose
int verbose
Definition: mbs_linearipk_struct.h:47
MbsLpk::GK_comp
double ** GK_comp
Definition: mbs_linearipk_struct.h:45
MbsLpk::equitol
double equitol
options for the lpk linearization [default = 1e-6]
Definition: mbs_linearipk_struct.h:53
MbsLpk::ux_saved
double * ux_saved
ux saved confguration
Definition: mbs_linearipk_struct.h:29
MbsLpk::lintol
double lintol
options for the lpk linearization [default = 1e-3]
Definition: mbs_linearipk_struct.h:54
MbsLpk::nF
int nF
nF=nqu or nF=nqu+nux (working variable)
Definition: mbs_linearipk_struct.h:32
MbsLpk::nx
int nx
nx=nqu or nux (working variable)
Definition: mbs_linearipk_struct.h:31