Closed amir-abs closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically closed because it has not had recent activity.
Description
Data of the random force term in the Langevin integrator can not be dumped into the output file in the current version. It can be one of the properties of the simulation objects that can be written as the output alongside velocities, positions, etc (that are already there!).
Proposed solution
This is the solution proposed by Joshua Anderson "In the TwoStepLangevin C++ class, add a method that computes and returns the random force array. In the Lanvegin Python class, add a property to access this array. " "See the code in the TwoStepLangevin class where it computes the random force and other places in the code that document this. You can also read our publications where we discuss the random number generation scheme used in HOOMD doi:10.1016/j.jcp.2011.05.021."
Additional context
Developer
Seeking interested developers!