|
From: | Axel Arnold |
Subject: | Re: [ESPResSo-users] (no subject) |
Date: | Sun, 15 Mar 2015 20:56:53 +0100 |
Who says so? What happens is that something needs to initialize the force. And since ever in Espresso the thermostat is the one that initializes the forces. The other forces like FENE or LJ are all added to this initial force.
force_calc calls init_forces, which in turn calls init_local_particle_force, which initializes the forces with the Langevin force from friction_thermo_langevin.
The particles are organized in equally sized, cubic cells of size cell_size. local_cells is a list of pointers to the particle lists of those cells. Thus, local_cells.n = (box_l/cell_size)**3. In your case that seems to be 5 cells per side. Now, within each cell, there are some particles, depending on the local density, so cell.n varies as particles move along the cells. The total sum of all particles in all cells stays the same, though. Axel ------------------------------------------------
Dr. Axel Arnold ICP, Universität Stuttgart Allmandring 3 70569 Stuttgart, Germany Email: address@hidden Phone: +49 711 685 67609 |
[Prev in Thread] | Current Thread | [Next in Thread] |