|From:||Mohammadreza Niknam Hamidabad|
|Subject:||Re: [ESPResSo-users] randomness in Langevin thermostat|
|Date:||Tue, 2 Jan 2018 00:40:02 +0330|
The random number generator can be seeded by setting the value "system.seed".
You can find out about it in the documentation.
The samples folder also has a minimal example of its usage.
espresso/blob/python/samples/ minimal_random_number_ generator.py
Happy new year to you too!
On Mon, 2018-01-01 at 23:16 +0330, Mohammadreza Niknam Hamidabad wrote:
> Hi all,
> I've got a confusing problem. I have a Langevin thermostat in my system and I put particles in my
> simulation box. Every time I run for a 1000 time steps and print the position of a specific
> particle, I've got exact same X Y Z for that particle in all of my runs. So how can I simulate
> movement of a drop of ink in water (Diffusion)?
> Is there any seed for randomness in Langevin?
> " system.thermostat.set_
langevin(kT=1.2, gamma=1.0) "
> By the way happy new year.
|[Prev in Thread]||Current Thread||[Next in Thread]|