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