use times inverse_np instead
This commit is contained in:
@ -1347,7 +1347,7 @@ void FixPIMDLangevin::compute_tote()
|
|||||||
|
|
||||||
void FixPIMDLangevin::compute_t_prim()
|
void FixPIMDLangevin::compute_t_prim()
|
||||||
{
|
{
|
||||||
t_prim = 1.5 * atom->natoms * np * force->boltz * temp - total_spring_energy / np;
|
t_prim = 1.5 * atom->natoms * np * force->boltz * temp - total_spring_energy * inverse_np;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|||||||
Reference in New Issue
Block a user