''
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14136 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -433,14 +433,14 @@ g = GPU, i = USER-INTEL, k = KOKKOS, o = USER-OMP, t = OPT.
|
||||
package</A>.
|
||||
</P>
|
||||
<DIV ALIGN=center><TABLE BORDER=1 >
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_adapt_fep.html">adapt/fep</A></TD><TD ><A HREF = "fix_addtorque.html">addtorque</A></TD><TD ><A HREF = "fix_atc.html">atc</A></TD><TD ><A HREF = "fix_ave_spatial_sphere.html">ave/spatial/sphere</A></TD><TD ><A HREF = "fix_drude.html">drude</A></TD><TD ><A HREF = "fix_drude_transform.html">drude/transform/direct</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_drude_transform.html">drude/transform/reverse</A></TD><TD ><A HREF = "fix_colvars.html">colvars</A></TD><TD ><A HREF = "fix_gle.html">gle</A></TD><TD ><A HREF = "fix_imd.html">imd</A></TD><TD ><A HREF = "fix_ipi.html">ipi</A></TD><TD ><A HREF = "fix_langevin_drude.html">langevin/drude</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_langevin_eff.html">langevin/eff</A></TD><TD ><A HREF = "fix_lb_fluid.html">lb/fluid</A></TD><TD ><A HREF = "fix_lb_momentum.html">lb/momentum</A></TD><TD ><A HREF = "fix_lb_pc.html">lb/pc</A></TD><TD ><A HREF = "fix_lb_rigid_pc_sphere.html">lb/rigid/pc/sphere</A></TD><TD ><A HREF = "fix_lb_viscous.html">lb/viscous</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_meso.html">meso</A></TD><TD ><A HREF = "fix_meso_stationary.html">meso/stationary</A></TD><TD ><A HREF = "fix_nh_eff.html">nph/eff</A></TD><TD ><A HREF = "fix_nh_eff.html">npt/eff</A></TD><TD ><A HREF = "fix_nve_eff.html">nve/eff</A></TD><TD ><A HREF = "fix_nh_eff.html">nvt/eff</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_nvt_sllod_eff.html">nvt/sllod/eff</A></TD><TD ><A HREF = "fix_phonon.html">phonon</A></TD><TD ><A HREF = "fix_pimd.html">pimd</A></TD><TD ><A HREF = "fix_qbmsst.html">qbmsst</A></TD><TD ><A HREF = "fix_qeq_reax.html">qeq/reax</A></TD><TD ><A HREF = "fix_qmmm.html">qmmm</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_qtb.html">qtb</A></TD><TD ><A HREF = "fix_reax_bonds.html">reax/c/bonds</A></TD><TD ><A HREF = "fix_reaxc_species.html">reax/c/species</A></TD><TD ><A HREF = "fix_saed_vtk.html">saed/vtk</A></TD><TD ><A HREF = "fix_smd.html">smd</A></TD><TD ><A HREF = "fix_smd_adjust_dt.html">smd/adjust/dt</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_smd_integrate_tlsph.html">smd/integrate/tlsph</A></TD><TD ><A HREF = "fix_smd_integrate_ulsph.html">smd/integrate/ulsph</A></TD><TD ><A HREF = "fix_smd_move_triangulated_surface.html">smd/move/triangulated/surface</A></TD><TD ><A HREF = "fix_smd_setvel.html">smd/setvel</A></TD><TD ><A HREF = "fix_smd_tlsph_reference_configuration.html">smd/tlsph/reference/configuration</A></TD><TD ><A HREF = "fix_smd_wall_surface.html">smd/wall/surface</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_temp_rescale_eff.html">temp/rescale/eff</A></TD><TD ><A HREF = "fix_ti_rs.html">ti/rs</A></TD><TD ><A HREF = "fix_ti_spring.html">ti/spring</A></TD><TD ><A HREF = "fix_ttm.html">ttm/mod</A>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_adapt_fep.html">adapt/fep</A></TD><TD ><A HREF = "fix_addtorque.html">addtorque</A></TD><TD ><A HREF = "fix_atc.html">atc</A></TD><TD ><A HREF = "fix_ave_correlate_long.html">ave/correlate/long</A></TD><TD ><A HREF = "fix_ave_spatial_sphere.html">ave/spatial/sphere</A></TD><TD ><A HREF = "fix_drude.html">drude</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_drude_transform.html">drude/transform/direct</A></TD><TD ><A HREF = "fix_drude_transform.html">drude/transform/reverse</A></TD><TD ><A HREF = "fix_colvars.html">colvars</A></TD><TD ><A HREF = "fix_gle.html">gle</A></TD><TD ><A HREF = "fix_imd.html">imd</A></TD><TD ><A HREF = "fix_ipi.html">ipi</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_langevin_drude.html">langevin/drude</A></TD><TD ><A HREF = "fix_langevin_eff.html">langevin/eff</A></TD><TD ><A HREF = "fix_lb_fluid.html">lb/fluid</A></TD><TD ><A HREF = "fix_lb_momentum.html">lb/momentum</A></TD><TD ><A HREF = "fix_lb_pc.html">lb/pc</A></TD><TD ><A HREF = "fix_lb_rigid_pc_sphere.html">lb/rigid/pc/sphere</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_lb_viscous.html">lb/viscous</A></TD><TD ><A HREF = "fix_meso.html">meso</A></TD><TD ><A HREF = "fix_meso_stationary.html">meso/stationary</A></TD><TD ><A HREF = "fix_nh_eff.html">nph/eff</A></TD><TD ><A HREF = "fix_nh_eff.html">npt/eff</A></TD><TD ><A HREF = "fix_nve_eff.html">nve/eff</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_nh_eff.html">nvt/eff</A></TD><TD ><A HREF = "fix_nvt_sllod_eff.html">nvt/sllod/eff</A></TD><TD ><A HREF = "fix_phonon.html">phonon</A></TD><TD ><A HREF = "fix_pimd.html">pimd</A></TD><TD ><A HREF = "fix_qbmsst.html">qbmsst</A></TD><TD ><A HREF = "fix_qeq_reax.html">qeq/reax</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_qmmm.html">qmmm</A></TD><TD ><A HREF = "fix_qtb.html">qtb</A></TD><TD ><A HREF = "fix_reax_bonds.html">reax/c/bonds</A></TD><TD ><A HREF = "fix_reaxc_species.html">reax/c/species</A></TD><TD ><A HREF = "fix_saed_vtk.html">saed/vtk</A></TD><TD ><A HREF = "fix_smd.html">smd</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_smd_adjust_dt.html">smd/adjust/dt</A></TD><TD ><A HREF = "fix_smd_integrate_tlsph.html">smd/integrate/tlsph</A></TD><TD ><A HREF = "fix_smd_integrate_ulsph.html">smd/integrate/ulsph</A></TD><TD ><A HREF = "fix_smd_move_triangulated_surface.html">smd/move/triangulated/surface</A></TD><TD ><A HREF = "fix_smd_setvel.html">smd/setvel</A></TD><TD ><A HREF = "fix_smd_tlsph_reference_configuration.html">smd/tlsph/reference/configuration</A></TD></TR>
|
||||
<TR ALIGN="center"><TD ><A HREF = "fix_smd_wall_surface.html">smd/wall/surface</A></TD><TD ><A HREF = "fix_temp_rescale_eff.html">temp/rescale/eff</A></TD><TD ><A HREF = "fix_ti_rs.html">ti/rs</A></TD><TD ><A HREF = "fix_ti_spring.html">ti/spring</A></TD><TD ><A HREF = "fix_ttm.html">ttm/mod</A>
|
||||
</TD></TR></TABLE></DIV>
|
||||
|
||||
<HR>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
<LI>Nrepeat = # of correlation time windows to accumulate
|
||||
|
||||
<LI>Nfreq = calculate tine window averages every this many timesteps
|
||||
<LI>Nfreq = calculate time window averages every this many timesteps
|
||||
|
||||
<LI>one or more input values can be listed
|
||||
|
||||
@ -80,7 +80,10 @@ and average the correlation data over longer timescales. The
|
||||
resulting correlation values can be time integrated by
|
||||
<A HREF = "variable.html">variables</A> or used by other <A HREF = "Section_howto.html#howto_15">output
|
||||
commands</A> such as <A HREF = "thermo_style.html">thermo_style
|
||||
custom</A>, and can also be written to a file.
|
||||
custom</A>, and can also be written to a file. See the
|
||||
<A HREF = "fix_ave_correlate_long.html">fix ave/correlate/long</A> command for an
|
||||
alternate method for computing correlation functions efficiently over
|
||||
very long time windows.
|
||||
</P>
|
||||
<P>The group specified with this command is ignored. However, note that
|
||||
specified values may represent calculations performed by computes and
|
||||
@ -337,7 +340,8 @@ minimization</A>.
|
||||
</P>
|
||||
<P><B>Related commands:</B>
|
||||
</P>
|
||||
<P><A HREF = "compute.html">compute</A>, <A HREF = "fix_ave_time.html">fix ave/time</A>, <A HREF = "fix_ave_atom.html">fix
|
||||
<P><A HREF = "fix_ave_correlate_long.html">fix ave/correlate/long</A>,
|
||||
<A HREF = "compute.html">compute</A>, <A HREF = "fix_ave_time.html">fix ave/time</A>, <A HREF = "fix_ave_atom.html">fix
|
||||
ave/atom</A>, <A HREF = "fix_ave_spatial.html">fix ave/spatial</A>,
|
||||
<A HREF = "fix_ave_histo.html">fix ave/histo</A>, <A HREF = "variable.html">variable</A>
|
||||
</P>
|
||||
|
||||
159
doc/doc2/fix_ave_correlate_long.html
Normal file
159
doc/doc2/fix_ave_correlate_long.html
Normal file
@ -0,0 +1,159 @@
|
||||
<HTML>
|
||||
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
||||
</CENTER>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>fix ave/correlate/long command
|
||||
</H3>
|
||||
<P><B>Syntax:</B>
|
||||
</P>
|
||||
<PRE>fix ID group-ID ave/correlate/long Nevery Nfreq value1 value2 ... keyword args ...
|
||||
</PRE>
|
||||
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
|
||||
|
||||
<LI>ave/correlate/long = style name of this fix command
|
||||
|
||||
<LI>Nevery = use input values every this many timesteps
|
||||
|
||||
<LI>Nfreq = save state of the time correlation functions every this many timesteps
|
||||
|
||||
<LI>one or more input values can be listed
|
||||
|
||||
<LI>value = c_ID, c_ID[N], f_ID, f_ID[N], v_name
|
||||
|
||||
<PRE> c_ID = global scalar calculated by a compute with ID
|
||||
c_ID[I] = Ith component of global vector calculated by a compute with ID
|
||||
f_ID = global scalar calculated by a fix with ID
|
||||
f_ID[I] = Ith component of global vector calculated by a fix with ID
|
||||
v_name = global value calculated by an equal-style variable with name
|
||||
</PRE>
|
||||
<LI>zero or more keyword/arg pairs may be appended
|
||||
|
||||
<LI>keyword = <I>type</I> or <I>start</I> or <I>file</I> or <I>overwrite</I> or <I>title1</I> or <I>title2</I> or <I>ncorr</I> or <I>p</I> or <I>m</I>
|
||||
|
||||
<PRE> <I>type</I> arg = <I>auto</I> or <I>upper</I> or <I>lower</I> or <I>auto/upper</I> or <I>auto/lower</I> or <I>full</I>
|
||||
auto = correlate each value with itself
|
||||
upper = correlate each value with each succeeding value
|
||||
lower = correlate each value with each preceding value
|
||||
auto/upper = auto + upper
|
||||
auto/lower = auto + lower
|
||||
full = correlate each value with every other value, including itself = auto + upper + lower
|
||||
<I>start</I> args = Nstart
|
||||
Nstart = start accumulating correlations on this timestep
|
||||
<I>file</I> arg = filename
|
||||
filename = name of file to output correlation data to
|
||||
<I>overwrite</I> arg = none = overwrite output file with only latest output
|
||||
<I>title1</I> arg = string
|
||||
string = text to print as 1st line of output file
|
||||
<I>title2</I> arg = string
|
||||
string = text to print as 2nd line of output file
|
||||
<I>ncorr</I> arg = Ncorrelators
|
||||
Ncorrelators = number of correlators to store
|
||||
<I>nlen</I> args = Nlen
|
||||
Nlen = length of each correlator
|
||||
<I>ncount</I> args = Ncount
|
||||
Ncount = number of values over which succesive correlators are averaged
|
||||
</PRE>
|
||||
|
||||
</UL>
|
||||
<P><B>Examples:</B>
|
||||
</P>
|
||||
<PRE>fix 1 all ave/correlate/long 5 1000 c_myTemp file temp.correlate
|
||||
fix 1 all ave/correlate/long 1 10000 &
|
||||
c_thermo_press[1] c_thermo_press[2] c_thermo_press[3] &
|
||||
type upper title1 "My correlation data" nlen 15 ncount 3
|
||||
</PRE>
|
||||
<P><B>Description:</B>
|
||||
</P>
|
||||
<P>This fix is similar in spirit and syntax to the <A HREF = "fix_ave_correlate.html">fix
|
||||
ave/correlate</A>. However, this fix allows the
|
||||
efficient calculation of time correlation functions on the fly over
|
||||
extremely long time windows without too much CPU overhead, using a
|
||||
multiple-tau method <A HREF = "#Ramirez">(Ramirez)</A> that decreases the resolution
|
||||
of the stored correlation function with time.
|
||||
</P>
|
||||
<P>The group specified with this command is ignored. However, note that
|
||||
specified values may represent calculations performed by computes and
|
||||
fixes which store their own "group" definitions.
|
||||
</P>
|
||||
<P>Each listed value can be the result of a compute or fix or the
|
||||
evaluation of an equal-style variable. See the <A HREF = "fix_ave_correlate.html">fix
|
||||
ave/correlate</A> doc page for details.
|
||||
</P>
|
||||
<P>The <I>Nevery</I> and <I>Nfreq</I> arguments specify on what timesteps the input
|
||||
values will be used to calculate correlation data, and the frequency
|
||||
with which the time correlation functions will be output to a file.
|
||||
Note that there is no <I>Nrepeat</I> argument, unlike the <A HREF = "fix_ave_correlate.html">fix
|
||||
ave/correlate</A> command.
|
||||
</P>
|
||||
<P>The optional keywords <I>ncorr</I>, <I>nlen</I>, and <I>ncount</I> are unique to this
|
||||
command and determine the number of correlation points calculated and
|
||||
the memory and CPU overhead used by this calculation. <I>Nlen</I> and
|
||||
<I>ncount</I> determine the amount of averaging done at longer correlation
|
||||
times. The default values <I>nlen=16</I>, <I>ncount=2</I> ensure that the
|
||||
systematic error of the multiple-tau correlator is always below the
|
||||
level of the statistical error of a typical simulation (which depends
|
||||
on the ensemble size and the simulation length).
|
||||
</P>
|
||||
<P>The maximum correlation time (in time steps) that can be reached is
|
||||
given by the formula (nlen-1) * ncount^(ncorr-1). Longer correlation
|
||||
times are discarded and not calculated. With the default values of
|
||||
the parameters (ncorr=20, nlen=16 and ncount=2), this corresponds to
|
||||
7864320 time steps. If longer correlation times are needed, the value
|
||||
of ncorr should be increased. Using nlen=16 and ncount=2, with
|
||||
ncorr=30, the maximum number of steps that can be correlated is
|
||||
80530636808. If ncorr=40, correlation times in excess of 8e12 time
|
||||
steps can be calculated.
|
||||
</P>
|
||||
<P>The total memory needed for each correlation pair is roughly
|
||||
4*ncorr*nlen*8 bytes. With the default values of the parameters, this
|
||||
corresponds to about 10 KB.
|
||||
</P>
|
||||
<P>For the meaning of the additional optional keywords, see the <A HREF = "fix_ave_correlate.html">fix
|
||||
ave/correlate</A> doc page.
|
||||
</P>
|
||||
<P><B>Restart, fix_modify, output, run start/stop, minimize info:</B>
|
||||
</P>
|
||||
<P>Since this fix in intended for the calculation of time correlation
|
||||
functions over very long MD simulations, the information about this
|
||||
fix is written automatically to binary restart files, so that the time
|
||||
correlation calculation can continue in subsequent simulations. None
|
||||
of the fix_modify options are relevant to this fix.
|
||||
</P>
|
||||
<P>No parameter of this fix can be used with the start/stop keywords of
|
||||
the run command. This fix is not invoked during energy minimization.
|
||||
</P>
|
||||
<P><B>Restrictions:</B>
|
||||
</P>
|
||||
<P>This compute is part of the USER-MISC package. It is only enabled if
|
||||
LAMMPS was built with that package. See the <A HREF = "Section_start.html#start_3">Making
|
||||
LAMMPS</A> section for more info.
|
||||
</P>
|
||||
<P><B>Related commands:</B>
|
||||
</P>
|
||||
<P><A HREF = "fix_ave_correlate.html">fix ave/correlate</A>
|
||||
</P>
|
||||
<P><B>Default:</B> none
|
||||
</P>
|
||||
<P>The option defaults for keywords that are also keywords for the <A HREF = "fix_ave_correlate.html">fix
|
||||
ave/correlate</A> command are as follows: type =
|
||||
auto, start = 0, no file output, title 1,2 = strings as described on
|
||||
the <A HREF = "fix_ave_correlate.html">fix ave/correlate</A> doc page.
|
||||
</P>
|
||||
<P>The option defaults for keywords unique to this command are as
|
||||
follows: ncorr=20, nlen=16, ncount=2.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
<A NAME = "Ramirez"></A>
|
||||
|
||||
<P><B>(Ramirez)</B> J. Ramirez, S.K. Sukumaran, B. Vorselaars and
|
||||
A.E. Likhtman, J. Chem. Phys. 133, 154103 (2010).
|
||||
</P>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user