sknano.core.atoms.StructureAtom.rezero

StructureAtom.rezero(epsilon=1e-10)[source]

Re-zero velocity vector components.

Set velocity vector components with absolute value less than epsilon to zero.

Parameters:

epsilon : float

smallest allowed absolute value of any \(x,y,z\) component.