public class Bubble3D extends Interaction
Constructor and Description |
---|
Bubble3D(double distance,
double K_param,
double Z_param)
Create the Bubble Interaction.
|
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 Bubble3D(double distance, double K_param, double Z_param)
distance
- distance (radius) between both Mats.K_param
- stiffness parameter.Z_param
- damping parameter.public void compute()
Interaction
compute
in class Interaction
Processing Library miPhysics by James Leonard. (c) 2019