From c3d52cd64de4abff8aa70db3ac5b17ccbded02b3 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 2 Oct 2013 13:29:50 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10847 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/fix_efield.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/fix_efield.html b/doc/fix_efield.html index 0e142ca5c5..339e4db521 100644 --- a/doc/fix_efield.html +++ b/doc/fix_efield.html @@ -25,9 +25,11 @@
  • zero or more keyword/value pairs may be appended to args -
  • keyword = energy +
  • keyword = region or energy -
      energy value = v_name
    +
      region value = region-ID
    +    region-ID = ID of region atoms must be in to have added force
    +  energy value = v_name
         v_name = variable with name that calculates the potential energy of each atom in the added E-field 
     
    @@ -67,6 +69,10 @@ variables but can also include per-atom values, such as atom coordinates. Thus it is easy to specify a spatially-dependent E-field with optional time-dependence as well.

    +

    If the region keyword is used, the atom must also be in the +specified geometric region in order to have force added +to it. +


    Adding a force or torque to atoms implies a change in their potential @@ -112,6 +118,8 @@ due to the electric field were a spring-like F = kx, then the energy formula should be E = -0.5kx^2. If you don't do this correctly, the minimization will not converge properly.

    +
    +

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

    No information about this fix is written to binary restart