public class SpringDamper1D extends Interaction
Modifier and Type | Field and Description |
---|---|
double |
m_dist_1D |
double |
m_distR_1D |
Constructor and Description |
---|
SpringDamper1D(double distance,
double K_param,
double Z_param) |
Modifier and Type | Method and Description |
---|---|
void |
compute()
Compute behavior of the Interaction (depends on the concrete implementation of concerned module).
|
double |
getParam(param p) |
int |
setParam(param p,
double val) |
calcDist1D, getElongation, getMat1, getMat2, getType, init
public SpringDamper1D(double distance, double K_param, double Z_param)
public void compute()
Interaction
compute
in class Interaction
Processing Library miPhysics by James Leonard. (c) 2019