Description Usage Arguments Value
Given coordinates for the first three atoms forming a dihedral, the dihedral angle, bond angle, and bond length, calculate the coordinates of the fourth atom forming the dihedral.
1 |
prev_atoms |
a 3x3 matrix of coordinates for atoms 1-2-3 in dihedral, listed by row |
length |
bond length between atoms 3-4 in dihedral |
bAngle |
planar bond angle between atoms 2-3-4 |
tAngle |
dihedral angle formed by atoms 1-2-3-4 |
Returns the vector of coordinates for the fourth atom in the dihedral
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.