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