|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.BoxActionAdapter
etomica.action.BoxQuench
public class BoxQuench
Scales all velocities of a box so that its kinetic temperature is equal to a given value.
| Field Summary | |
|---|---|
protected int |
dim
|
protected MeterTemperature |
meterTemperature
|
protected double |
temperature
|
| Fields inherited from class etomica.action.BoxActionAdapter |
|---|
box |
| Constructor Summary | |
|---|---|
BoxQuench(double temperature,
int dim)
Constructs class without specifying box and using Default temperature. |
|
BoxQuench(IBox p,
double temperature)
Constructs class ready to perform quench on given box to given temperature. |
|
BoxQuench(int dim)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Completes the action defined by the class implementing this interface. |
double |
getTemperature()
Returns the quench temperature. |
void |
setBox(IBox p)
|
void |
setTemperature(double temperature)
Sets the quench temperature. |
| Methods inherited from class etomica.action.BoxActionAdapter |
|---|
getBox |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double temperature
protected MeterTemperature meterTemperature
protected final int dim
| Constructor Detail |
|---|
public BoxQuench(int dim)
public BoxQuench(double temperature,
int dim)
public BoxQuench(IBox p,
double temperature)
| Method Detail |
|---|
public void setBox(IBox p)
setBox in interface BoxActionsetBox in class BoxActionAdapterp - The box on which this action will be performed.public void actionPerformed()
IAction
etomica.action.BoxActionAdapter#actionPerformed(IAtom)public double getTemperature()
public void setTemperature(double temperature)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||