return(res);
}
public IIntegratorThermostatted langevinLeapFrog(IEnergyModel model, IDoubleArray masses, double dt, double gamma, double kT)
{
IIntegratorThermostatted res = new LangevinLeapFrog(dt, gamma, kT);
res.setEnergyModel(model);
res.setMasses(masses);
res.setV(dyn.maxwellBoltzmannVelocities(masses, kT));
return(res);
}