Commit 02f3b33f authored by Joost de Graaf's avatar Joost de Graaf

ENGINE: Reverted fix for the mass, which was originally put in when the...

ENGINE: Reverted fix for the mass, which was originally put in when the Langevin Thermostat was still broken.
parent e0910d42
......@@ -153,18 +153,9 @@ inline void init_local_particle_force(Particle *part) {
// the particle's orientation axis
if ( part->swim.swimming )
{
if ( thermo_switch & THERMO_LANGEVIN )
{
part->f.f[0] += part->swim.f_swim * part->p.mass * part->r.quatu[0];
part->f.f[1] += part->swim.f_swim * part->p.mass * part->r.quatu[1];
part->f.f[2] += part->swim.f_swim * part->p.mass * part->r.quatu[2];
}
else
{
part->f.f[0] += part->swim.f_swim * part->r.quatu[0];
part->f.f[1] += part->swim.f_swim * part->r.quatu[1];
part->f.f[2] += part->swim.f_swim * part->r.quatu[2];
}
part->f.f[0] += part->swim.f_swim * part->r.quatu[0];
part->f.f[1] += part->swim.f_swim * part->r.quatu[1];
part->f.f[2] += part->swim.f_swim * part->r.quatu[2];
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment