removing force from system
Posted: Fri Jan 28, 2022 1:03 pm
Hi OpenMM,
Is there a way to remove a custom force from a system once it's added or do I have to create a new system and simulation object? Alternatively, is there a way to modify the parameters of a force, for example between two bonds BondForce, after it's added to the system? I have an application where I need to turn on and off restraints over and over again and run short simulations each time.
Thanks!
Dan
Is there a way to remove a custom force from a system once it's added or do I have to create a new system and simulation object? Alternatively, is there a way to modify the parameters of a force, for example between two bonds BondForce, after it's added to the system? I have an application where I need to turn on and off restraints over and over again and run short simulations each time.
Thanks!
Dan