Skip to content

[BUG] Erronious equation in documentation of the force 2-norm in min_modify #1959

@uihsnv

Description

@uihsnv

Summary

The equation for the 2-norm of the global force vector is shown as the length of the sum of per-particle force vectors, when it should be the square-root of the sum of the squared 2-norms of each per-particle vector.

LAMMPS Version and Platform

19 Mar 2020

Expected Behavior

||F|| = sqrt( ||F_1||^2 + ||F_2||^2 + ||F_3||^2 + ... )

Actual Behavior

||F|| = sqrt( F_1 + F_2 + F_3 + ... )

Link

https://lammps.sandia.gov/doc/min_modify.html

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions