VFFModifiedBondBendingPotential1

class VFFModifiedBondBendingPotential1(particleType1, particleType2, particleType3, alpha, delta, A, epsilon, B, mu)

Constructor of the potential.

Parameters:
  • particleType1 (ParticleType or ParticleIdentifier) – Identifier of the first particle type.

  • particleType2 (ParticleType or ParticleIdentifier) – Identifier of the second particle type. This is the central particle (the vertex) when calculating the angle.

  • particleType3 (ParticleType or ParticleIdentifier) – Identifier of the third particle type.

  • alpha (PhysicalQuantity of type energy * length**-4) – Potential parameter.

  • delta (PhysicalQuantity of type length**2) – Potential parameter.

  • A (float) – Potential parameter.

  • epsilon (float) – Potential parameter.

  • B (PhysicalQuantity of type length**-2) – Potential parameter.

  • mu (PhysicalQuantity of type length**2) – Potential parameter.

classmethod getAllParameterNames()

Return the names of all used parameters as a list.

getAllParameters()

Return all parameters of this potential and their current values as a <parameterName / parameterValue> dictionary.

static getDefaults()

Get the default parameters of this potential and return them in form of a dictionary of <parameter name, default value> key-value pairs.

getParameter(parameterName)

Get the current value of the parameter parameterName.

setParameter(parameterName, value)

Set the parameter parameterName to the given value.

Parameters:
  • parameterName (str) – The name of the parameter that will be modified.

  • value – The new value that will be assigned to the parameter parameterName.

Notes

  • This potential class is a bonded potential. This means it requires a bond topology to be specified on the configuration which the potential should be used for. Bonds can be set using the findBonds() method on configurations (MoleculeConfiguration, BulkConfiguration, DeviceConfiguration, or SurfaceConfiguration), which automatically adds bonds for atoms which are closer than their combined covalent radii (multiplied by a fuzz_factor of 1.1 by default). Alternatively bonds can be set manually by passing a list of the atom index pairs that form the bonds to the setBonds() method on the configuration. If no bonds are specified on the configuration bonded potentials have no effect.

  • This potential is part of the potential functions that are used in valence force fields (VFF) [1][2]. It is a variant of the VFFBondBendingPotential.

  • This potential is calculated as

    \[V(\mathbf{r}_{i,j}, \mathbf{r}_{j,k}) = \alpha \left[1 + A (\cos(\theta_{i,j,k}) - \epsilon) \right] \left[1 + B(r_{i,j}r_{j,k} - _mu)\right] \left(\mathbf{r}_{j,i} \cdot \mathbf{r}_{j,k} - \delta \right)^2\]

    where \(\mathbf{r}_{i,j}\) is the distance vector from atom i to atom j, \(r_{i,j}\) is the corresponding distance, and \(\theta_{i,j,k}\) is the angle between atoms i, j, and k.