"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c

:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Section_commands.html#comm)

:line

fix efield command :h3

[Syntax:]

fix ID group-ID efield ex ey ez :pre

ID, group-ID are documented in "fix"_fix.html command
efield = style name of this fix command
ex,ey,ez = E-field component values (electric field units) :ul

[Examples:]

fix kick external-field efield 1.0 0.0 0.0 :pre

[Description:]

Add a force F = qE to each charged atom in the group due to an
external electric field being applied to the system.

[Restart, fix_modify, output, run start/stop, minimize info:]

No information about this fix is written to "binary restart
files"_restart.html.  None of the "fix_modify"_fix_modify.html options
are relevant to this fix.  No global scalar or vector or per-atom
quantities are stored by this fix for access by various "output
commands"_Section_howto.html#4_15.  No parameter of this fix can be
used with the {start/stop} keywords of the "run"_run.html command.
This fix is not invoked during "energy minimization"_minimize.html.

[Restrictions:] none

[Related commands:]

"fix addforce"_fix_addforce.html

[Default:] none
