pos_sum#
- poscar_modify.pos_sum(factor: np.ndarray | list[float], cartesian=False)[source]#
Add the Factor (Fx,Fy,Fz) to each position
Parameters:
- factornp.ndarray|list[float]
3 numbers, the factor to add to each position
- cartesianbool
should the operation be done in Cartesian (True) or direct coordinates (False). Default is False