Modifier and Type | Field and Description |
---|---|
protected AtomActionRandomizeVelocity |
atomActionRandomizeVelocity |
protected IBox |
box |
protected double |
temperature |
Constructor and Description |
---|
BoxRandomizeMomenta(IBox box,
IRandom random) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed()
Completes the action defined by the class implementing this interface.
|
IBox |
getBox() |
double |
getTemperature() |
void |
setTemperature(double newTemperature) |
protected final AtomActionRandomizeVelocity atomActionRandomizeVelocity
protected final IBox box
protected double temperature
public void setTemperature(double newTemperature)
public double getTemperature()
public IBox getBox()
public void actionPerformed()
IAction
actionPerformed
in interface IAction