File: compute_event_displace.txt

package info (click to toggle)
lammps 0~20140523.gite5e877d-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 193,012 kB
  • ctags: 48,147
  • sloc: cpp: 458,874; python: 21,769; fortran: 16,023; ansic: 12,503; perl: 3,687; sh: 3,221; makefile: 1,366; f90: 1,177; xml: 788; objc: 238; lisp: 169; tcl: 61; csh: 16; awk: 14
file content (62 lines) | stat: -rw-r--r-- 2,015 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
"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

compute event/displace command :h3

[Syntax:]

compute ID group-ID event/displace threshold :pre

ID, group-ID are documented in "compute"_compute.html command
event/displace = style name of this compute command
threshold = minimum distance anyparticle must move to trigger an event (distance units) :ul

[Examples:]

compute 1 all event/displace 0.5 :pre

[Description:]

Define a computation that flags an "event" if any particle in the
group has moved a distance greater than the specified threshold
distance when compared to a previously stored reference state
(i.e. the previous event).  This compute is typically used in
conjunction with the "prd"_prd.html and "tad"_tad.html commands, 
to detect if a transition
to a new minimum energy basin has occurred.

This value calculated by the compute is equal to 0 if no particle has
moved far enough, and equal to 1 if one or more particles have moved
further than the threshold distance.

NOTE: If the system is undergoing significant center-of-mass motion, 
due to thermal motion, an external force, or an initial net momentum, 
then this compute will not be able to distinguish that motion from
local atom displacements and may generate "false postives."

[Output info:]

This compute calculates a global scalar (the flag).  This value can be
used by any command that uses a global scalar value from a compute as
input.  See "Section_howto 15"_Section_howto.html#howto_15 for an
overview of LAMMPS output options.

The scalar value calculated by this compute is "intensive".  The
scalar value will be a 0 or 1 as explained above.

[Restrictions:]

This command can only be used if LAMMPS was built with the REPLICA
package.  See the "Making LAMMPS"_Section_start.html#start_3 section
for more info on packages.

[Related commands:]

"prd"_prd.html, "tad"_tad.html

[Default:] none