From f6c92890f1cc1cfde524cba585d32e87e825f30d Mon Sep 17 00:00:00 2001
From: sjplimp
./configure --enable-sharedlib=gcc +./configure --enable-shared make make install@@ -189,8 +189,8 @@ static and shared MPI library. This will be fine for running LAMMPS from Python since it only uses the shared library. But if you now try to build LAMMPS by itself as a stand-alone program (cd lammps/src; make foo) or build other codes that expect to link against libmpich.a, -then those builds will typically fail if the linker uses libmpich.so -instead. This means you will need to remove the file +then those builds may fail if the linker uses libmpich.so instead. If +this happens, it means you will need to remove the file /usr/local/lib/libmich.so before building LAMMPS again as a stand-alone code. diff --git a/doc/Section_python.txt b/doc/Section_python.txt index dbf4700819..8f2aae4567 100644 --- a/doc/Section_python.txt +++ b/doc/Section_python.txt @@ -172,7 +172,7 @@ by Argonne National Labs. From within the mpich directory, type :link(mpich,http://www-unix.mcs.anl.gov/mpi) -./configure --enable-sharedlib=gcc +./configure --enable-shared make make install :pre @@ -185,8 +185,8 @@ static and shared MPI library. This will be fine for running LAMMPS from Python since it only uses the shared library. But if you now try to build LAMMPS by itself as a stand-alone program (cd lammps/src; make foo) or build other codes that expect to link against libmpich.a, -then those builds will typically fail if the linker uses libmpich.so -instead. This means you will need to remove the file +then those builds may fail if the linker uses libmpich.so instead. If +this happens, it means you will need to remove the file /usr/local/lib/libmich.so before building LAMMPS again as a stand-alone code. diff --git a/doc/fix_addforce.html b/doc/fix_addforce.html index 4fe72468f1..05b679d66b 100644 --- a/doc/fix_addforce.html +++ b/doc/fix_addforce.html @@ -23,8 +23,8 @@
any of fx,fy,fz can be a variable (see below) +
any of fx,fy,fz can be a variable (see below) +
Tstart can be a variable (see below) +
The desired temperature at each timestep is a ramped value during the run from Tstart to Tstop.
+Tstart can be specified as an equal-style or atom-style +variable. In this case, the Tstop setting is +ignored. If the value is a variable, it should be specified as +v_name, where name is the variable name. In this case, the variable +will be evaluated each timestep, and its value used to determine the +target temperature. +
+Equal-style variables can specify formulas with various mathematical +functions, and include thermo_style command +keywords for the simulation box parameters and timestep and elapsed +time. Thus it is easy to specify a time-dependent temperature. +
+Atom-style variables can specify the same formulas as equal-style +variables but can also include per-atom values, such as atom +coordinates. Thus it is easy to specify a spatially-dependent +temperature with optional time-dependence as well. +
Like other fixes that perform thermostatting, this fix can be used with compute commands that remove a "bias" from the atom velocities. E.g. removing the center-of-mass velocity from a diff --git a/doc/fix_langevin.txt b/doc/fix_langevin.txt index 63fd2135f8..085bcdccd6 100644 --- a/doc/fix_langevin.txt +++ b/doc/fix_langevin.txt @@ -15,6 +15,7 @@ fix ID group-ID langevin Tstart Tstop damp seed keyword values ... :pre ID, group-ID are documented in "fix"_fix.html command :ulb,l langevin = style name of this fix command :l Tstart,Tstop = desired temperature at start/end of run (temperature units) :l + Tstart can be a variable (see below) :pre damp = damping parameter (time units) :l seed = random number seed to use for white noise (positive integer) :l zero or more keyword/value pairs may be appended :l @@ -23,7 +24,7 @@ keyword = {angmom} or {omega} or {scale} or {tally} or {zero} :l {no} = do not thermostat rotational degrees of freedom via the angular momentum {yes} = do thermostat rotational degrees of freedom via the angular momentum {omega} value = {no} or {yes} - {no} = do not thermostat rotational degrees of freedom via then angular velocity + {no} = do not thermostat rotational degrees of freedom via the angular velocity {yes} = do thermostat rotational degrees of freedom via the angular velocity {scale} values = type ratio type = atom type (1-N) @@ -102,6 +103,23 @@ thermostatting. The desired temperature at each timestep is a ramped value during the run from {Tstart} to {Tstop}. +{Tstart} can be specified as an equal-style or atom-style +"variable"_variable.html. In this case, the {Tstop} setting is +ignored. If the value is a variable, it should be specified as +v_name, where name is the variable name. In this case, the variable +will be evaluated each timestep, and its value used to determine the +target temperature. + +Equal-style variables can specify formulas with various mathematical +functions, and include "thermo_style"_thermo_style.html command +keywords for the simulation box parameters and timestep and elapsed +time. Thus it is easy to specify a time-dependent temperature. + +Atom-style variables can specify the same formulas as equal-style +variables but can also include per-atom values, such as atom +coordinates. Thus it is easy to specify a spatially-dependent +temperature with optional time-dependence as well. + Like other fixes that perform thermostatting, this fix can be used with "compute commands"_compute.html that remove a "bias" from the atom velocities. E.g. removing the center-of-mass velocity from a diff --git a/doc/pair_comb.html b/doc/pair_comb.html index 71e245c9e6..55ec1beb1e 100644 --- a/doc/pair_comb.html +++ b/doc/pair_comb.html @@ -252,7 +252,7 @@ Phillpot, Phys Rev B, 81, 125328 (2010).
-(Rick) S. W. Rick, S. J. Stuart, B. J. Berne, J Chem Phys 101, 16141 +
(Rick) S. W. Rick, S. J. Stuart, B. J. Berne, J Chem Phys 101, 6141 (1994).
diff --git a/doc/pair_comb.txt b/doc/pair_comb.txt index ed625ba629..9ec7ede788 100644 --- a/doc/pair_comb.txt +++ b/doc/pair_comb.txt @@ -244,7 +244,7 @@ Phillpot, Phys Rev B, 81, 125328 (2010). [(Tersoff)] J. Tersoff, Phys Rev B, 37, 6991 (1988). :link(Rick) -[(Rick)] S. W. Rick, S. J. Stuart, B. J. Berne, J Chem Phys 101, 16141 +[(Rick)] S. W. Rick, S. J. Stuart, B. J. Berne, J Chem Phys 101, 6141 (1994). :link(Wolf)