sknano.core.atoms.ForceAtom¶
-
class
sknano.core.atoms.ForceAtom(*args, *, fx=None, fy=None, fz=None, **kwargs)[source][source]¶ An
Atomclass with force attributes.Parameters: element : {str, int}, optional
A string representation of the element symbol or an integer specifying an element atomic number.
fx, fy, fz : float, optional
fx,fy,fz components of
ForceAtomvelocity.Attributes
ZAtomic number Z. elementElement symbol. ffx,fy,fz array of force vector components. fmtstrFormat string. fxx component of ForceAtomforce vectorfyx component of ForceAtomforce vectorfzz component of ForceAtomforce vectormmassAtomic mass ma in atomic mass units. symbolElement symbol. Methods
rezero([epsilon])Re-zero position vector components. rotate(**kwargs)Rotate Atomposition vector.todict()translate(*args, **kwargs)