diff --git a/doc/fix_efield.html b/doc/fix_efield.html index 80c642d06f..7cb83cd62b 100644 --- a/doc/fix_efield.html +++ b/doc/fix_efield.html @@ -84,7 +84,7 @@ and not as variables. This is because LAMMPS can compute the energy for each charged particle directly as E = -x dot qE = -q (x*ex + y*ey + z*ez), so that -Grad(E) = F. Similarly for point-dipole particles the energy can be computed as E = -mu dot E = -(mux*ex + muy*ey + -muz*ez), +muz*ez).

The energy keyword is optional if the added force is defined with one or more variables, and if you are performing dynamics via the diff --git a/doc/fix_efield.txt b/doc/fix_efield.txt index dccb04c737..7fa31fde3c 100644 --- a/doc/fix_efield.txt +++ b/doc/fix_efield.txt @@ -74,7 +74,7 @@ and not as variables. This is because LAMMPS can compute the energy for each charged particle directly as E = -x dot qE = -q (x*ex + y*ey + z*ez), so that -Grad(E) = F. Similarly for point-dipole particles the energy can be computed as E = -mu dot E = -(mux*ex + muy*ey + -muz*ez), +muz*ez). The {energy} keyword is optional if the added force is defined with one or more variables, and if you are performing dynamics via the