sknano.structures.compute_t2

sknano.structures.compute_t2(n, m)[source][source]

Compute \(t_2 = -\frac{2n + m}{d_R}\)

where \(d_R = \gcd{(2n + m, 2m + n)}\).

The component of the translation vector \(\mathbf{T}\) along \(\mathbf{a}_2\):

\[\mathbf{T} = t_1\mathbf{a}_1 + t_2\mathbf{a}_2\]
Parameters:

n, m : int

Chiral indices defining the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).

Returns:

int

\(t_2\)