It seems the problem was not with the primitive estimator but when initializing all particles at 0 0 0.

When initialized randomly it works.
This commit is contained in:
Ofir Blumer
2025-01-21 17:12:03 +02:00
parent 9fd0d09b5f
commit 2765f35340

View File

@ -132,8 +132,6 @@ void FixPIMDBLangevin::compute_t_prim()
{
if (universe->iworld == 0)
t_prim = bosonic_exchange.prim_estimator();
else
t_prim = -bosonic_exchange.get_total_spring_energy_for_bead();
}
/* ---------------------------------------------------------------------- */