The get_unitfactor_mdl2si function get units factor to convert from RecurDyn model units to SI units.
Langunage type |
SubRoutine |
C/C++ |
get_unitfactor_mdl2si(double[] mdl2si, int errflg) |
Parameter information
Variable Name |
Size |
Description |
mdl2si |
Double [5] |
[out] units factor to convert from property file unit to RecurDyn model unit (size=5) • mdl2si[0] = Length conversion factor, ex) m à mm = 1000 • mdl2si[1] = Force conversion factor, ex) mN à N = 0.001 • mdl2si[2] = Angle conversion factor, ex) deg à rad = pi/180 • mdl2si[3] = Mass conversion factor, ex) kg à g = 1000 • mdl2si[4] = Time conversion factor, ex) s à ms = 1000 |
errflg |
Int |
[out] error status (0: No error, 1~6: error) |