BondLengthInteraction #
BondLengthInteraction
is an interaction that depends on the distance between particles.
The following potentials are available.
- Harmonic
- Gaussian
- GoContact
- AttractiveGoContact
- RepulsiveGoContact
- WormLikeChain
- WormLikeChainOffset
- 3SPN2Bond
Example #
[[forcefields.local]]
interaction = "BondLength"
potential = "Harmonic"
topology = "bond"
parameters = [
# required parameters depend on a potential...
{indices = [0, 1], offset = 100, ... },
]
Input Reference #
interaction
: String- Name of the interaction. Here, it is
"BondLength"
.
- Name of the interaction. Here, it is
potential
: String- The following potentials are available.
- Harmonic
- Gaussian
- GoContact
- AttractiveGoContact
- RepulsiveGoContact
- WormLikeChain
- 3SPN2Bond
topology
: String- Name of the connection in Topology.
parameters
: Array of Tablesindices
: Array of Integers (length = 2)- Indices of particles that interact with each other. The index is 0-based.
offset
: Integer(Optional. By default, 0.)- Offset of index.
- The other parameter depends on the specified potential.