Exemple #1
0
 public void doStep() {
   idealGas.doOneMCStep();
 }
Exemple #2
0
 public void resetData() {
   idealGas.resetData();
   idealGas.delta = control.getDouble("maximum velocity change");
   control.clearMessages();
 }
Exemple #3
0
 public void initialize() {
   idealGas.N = control.getInt("number of particles N");
   idealGas.systemEnergy = control.getDouble("desired total energy");
   idealGas.delta = control.getDouble("maximum velocity change");
   idealGas.initialize();
 }