sknano.structures.compute_Natoms¶
-
sknano.structures.compute_Natoms(n, m, nz)[source][source]¶ Compute \(N_{\mathrm{atoms/tube}}\)
\[N_{\mathrm{atoms/tube}} = N_{\mathrm{atoms/cell}} \times n_{z-\mathrm{cells}}\]Parameters: n, m : int
Chiral indices defining the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).
nz : {int, float}
Number of nanotube unit cells
Returns: int
\(N_{\mathrm{atoms/tube}}\)