From 5ca111b283d35839aa96e02b5e03da6344d47925 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 4 Aug 2010 21:45:23 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4441 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/fix_adapt.html | 2 +- doc/fix_adapt.txt | 2 +- doc/variable.html | 7 +++++-- doc/variable.txt | 7 +++++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/fix_adapt.html b/doc/fix_adapt.html index ce1e4bdc7e..4a4e0c08b8 100644 --- a/doc/fix_adapt.html +++ b/doc/fix_adapt.html @@ -139,7 +139,7 @@ over the course of a 1000-step simulation:

variable start equal 1.0
 variable stop equal 0.1
-variable size equal start+(stop-start)*elapsed/1000
+variable size equal ramp(1.0,0.1)
 fix 1 center adapt 10 atom diameter size 
 

Restart, fix_modify, output, run start/stop, minimize info: diff --git a/doc/fix_adapt.txt b/doc/fix_adapt.txt index 2735c23c63..d7fc6bcc44 100644 --- a/doc/fix_adapt.txt +++ b/doc/fix_adapt.txt @@ -127,7 +127,7 @@ over the course of a 1000-step simulation: variable start equal 1.0 variable stop equal 0.1 -variable size equal start+(stop-start)*elapsed/1000 +variable size equal ramp(1.0,0.1) fix 1 center adapt 10 atom diameter size :pre [Restart, fix_modify, output, run start/stop, minimize info:] diff --git a/doc/variable.html b/doc/variable.html index 73f28858f7..9b5ba793fb 100644 --- a/doc/variable.html +++ b/doc/variable.html @@ -345,8 +345,11 @@ to its argument.

value = x + (y-x) * (timestep - startstep) / (stopstep - startstep) 
 
-

which is a value that ramps linear over the timesteps of a run between -x and y. The run began on startstep and will end on stopstep. +

which is a value that ramps linear between x and y over the course of +a run. The run begins on startstep and ends on stopstep. Startstep +and stopstep can span multiple runs, using the start and stop +keywords of the run command. See the run +command for details of how to do this.

Group functions are specified as keywords followed by one or two parenthesized arguments. The first argument is the group-ID. The diff --git a/doc/variable.txt b/doc/variable.txt index 7c9cbde337..72837c72dd 100644 --- a/doc/variable.txt +++ b/doc/variable.txt @@ -344,8 +344,11 @@ Ramp(x,y) uses the current timestep to generate a scalar value: value = x + (y-x) * (timestep - startstep) / (stopstep - startstep) :pre -which is a value that ramps linear over the timesteps of a run between -x and y. The run began on startstep and will end on stopstep. +which is a value that ramps linear between x and y over the course of +a run. The run begins on startstep and ends on stopstep. Startstep +and stopstep can span multiple runs, using the {start} and {stop} +keywords of the "run"_run.html command. See the "run"_run.html +command for details of how to do this. Group functions are specified as keywords followed by one or two parenthesized arguments. The first argument is the group-ID. The