Example #1
0
 public void resetData() {
   idealGas.resetData();
   idealGas.delta = control.getDouble("maximum velocity change");
   control.clearMessages();
 }
Example #2
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();
 }