|
Langunage type |
SubRoutine |
|
FORTRAN |
call rd_impact(x, xdot, x1, k, e, cmax, d, order, value, errflg) or impact(x, xdot, x1, k, e, cmax, d, order, value, errflg) |
|
C/C++ |
rd_impact(x, xdot, x1, k, e, cmax, d, order, &value[0], &errflg) or impact(x, xdot, x1, k, e, cmax, d, order, &value[0], &errflg) |
Parameter information
|
Variable Name |
Size |
Description |
|
x |
double |
Specify the distance variable the user want to use to compute the force. |
|
xdot |
double |
Communicate to IMPACT the time derivative of X. |
|
x1 |
double |
Specify the free length of x. |
|
k |
double |
Specify the stiffness of boundary surface interaction. |
|
e |
double |
Specify the exponent of the force deformation characteristic. |
|
cmax |
double |
Specify the maximum damping coefficient. |
|
d |
double |
The depth at which the damping coefficient reaches 0. |
|
order |
int |
1) order = 0
2) order = 1
3) order = 2
|
|
value |
double [3] | |
|
error |
logical / int |
If an error is encountered in invoking Predefined subroutine, this variable becomes true. This variable must be declared as a logical variable. |