NQCDynamics.jl icon indicating copy to clipboard operation
NQCDynamics.jl copied to clipboard

Enable freezing the position of certain atoms

Open Alexsp32 opened this issue 1 year ago • 1 comments

Similar to #244. Currently, the only way of freezing certain atoms in a simulation in place (at least that I'm aware of) is by using an ase calculator which outputs 0 forces on the respective atoms. However, this alone doesn't work for methods where random noise is applied, such as Langevin dynamics.

In conjunction with #244 , it might be best to allow specifying frozen atoms when defining a Simulation, which makes the necessary modifications to methods. (ignoring initial velocities from DynamicalDistributions, position/velocity updates, random noise, ...)

Alexsp32 avatar May 31 '23 15:05 Alexsp32