mixture Gaussian force with custom force
Posted: Tue Nov 26, 2019 9:08 am
Hi, I am trying to implement a mixture Gaussian force expressed as
$\sum_{i} V_i exp(-(\phi - \phi_i)^2 / (2 * \sigma_i^2) $
where $\phi$ is a dihedral angle of 4 atoms (out of many atoms) in a protein, $\phi_i$ and $\sigma_i$ are parameters for Gaussian. Does anyone know what might be the best way to do this? I attempted to use "CustomManyParticleForce", but I am a bit confused about how I should specify those 4 atoms for dihedral angle exactly in the expression. There is a function named "addParticle()" which I am not exactly sure if that is the correct function to call. If anyone could provide an example that would be great.
Thank you!
$\sum_{i} V_i exp(-(\phi - \phi_i)^2 / (2 * \sigma_i^2) $
where $\phi$ is a dihedral angle of 4 atoms (out of many atoms) in a protein, $\phi_i$ and $\sigma_i$ are parameters for Gaussian. Does anyone know what might be the best way to do this? I attempted to use "CustomManyParticleForce", but I am a bit confused about how I should specify those 4 atoms for dihedral angle exactly in the expression. There is a function named "addParticle()" which I am not exactly sure if that is the correct function to call. If anyone could provide an example that would be great.
Thank you!