"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 temp/rescale/eff command :h3

[Syntax:]

fix ID group-ID temp/rescale/eff N Tstart Tstop window fraction :pre

ID, group-ID are documented in "fix"_fix.html command
temp/rescale/eff = style name of this fix command
N = perform rescaling every N steps 
Tstart,Tstop = desired temperature at start/end of run (temperature units)
window = only rescale if temperature is outside this window (temperature units)
fraction = rescale to target temperature by this fraction :ul

[Examples:]

fix 3 flow temp/rescale/eff 10 1.0 100.0 0.02 1.0 :pre

[Description:]

Reset the temperature of a group of nuclei and electrons in the
"electron force field"_pair_eff.html model by explicitly rescaling
their velocities.

The operation of this fix is exactly like that described by the "fix
temp/rescale"_fix_temp_rescale.html command, except that the rescaling
is also applied to the radial electron velocity for electron
particles.

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

No information about this fix is written to "binary restart
files"_restart.html.

The "fix_modify"_fix_modify.html {temp} option is supported by this
fix.  You can use it to assign a temperature "compute"_compute.html
you have defined to this fix which will be used in its thermostatting
procedure, as described above.  For consistency, the group used by
this fix and by the compute should be the same.

The "fix_modify"_fix_modify.html {energy} option is supported by this
fix to add the energy change implied by a velocity rescaling to the
system's potential energy as part of "thermodynamic
output"_thermo_style.html.

This fix computes a global scalar which can be accessed by various
"output commands"_Section_howto.html#howto_15.  The scalar is the
cummulative energy change due to this fix.  The scalar value
calculated by this fix is "extensive".

This fix can ramp its target temperature over 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.

This fix is not invoked during "energy minimization"_minimize.html.

[Restrictions:]

This fix is part of the USER-EFF package.  It is only enabled if
LAMMPS was built with that package.  See the "Making
LAMMPS"_Section_start.html#start_3 section for more info.

[Related commands:]

"fix langevin/eff"_fix_langevin_eff.html, "fix
nvt/eff"_fix_nh_eff.html, "fix_modify"_fix_modify.html,
"fix_temp_rescale"_fix_temp_rescale.html,

[Default:] none
