dataIn | Pointer to a data structure that holds the input parameters. The input parameters are seven integers dataIn->PINPUT dataIn->POUTPUT, dataIn->PSTATE, dataIn->RM, dataIn->NODAMPIN, dataIn->ORIGINAL, dataIn->USEPBCS. The first six integers share the same meaning with the arguments in LINEAR/STATEMAT command. Any none zero integers set to dataIn->NODAMPIN, dataIn->ORIGINAL and data->USEPBCS will turn these options ON. To turn these options OFF, one can simply set their values to be 0. The USEPBCS option is used to define the linearization coordinate system to be PBCS (ON) or BCS (OFF). All the entries of this data structure must be initialized before calling this utility routine. |
type | An integer pointer indicates the action taken by the utility routine. *type = 1 initialize the dataOut data structure. *type = 0 carry out the linear analysis and store the data in dataOut *type = 5 clean up the memory |
dataOut | Pointer to a data structure that holds the output information which are dataOut->NS Integer, number of states dataOut->NI Integer, number of inputs dataOut->NO Integer, number of outputs dataOut->ND Integer, number of differential states dataOut->NK Integer, number of kinematic states dataOut->A double pointer to an array with the size of NS*NS stored in column order dataOut->B double pointer to an array with the size of NS*NI stored in column order dataOut->C double pointer to an array with the size of NO*NS stored in column order dataOut->D double pointer to an array with the size of NO*NI stored in column order dataOut->STATESINFO double pointer to an array with the size of NS*3 stored in column order dataOut->STATES double pointer to an array with the size of NS stored as ![]() Where xi stands for a position state, vi stands for the corresponding time derivative, and zi stands for a differential state in the model. |
