File: fix_modify.html

package info (click to toggle)
liggghts 3.0.3%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 106,076 kB
  • ctags: 34,406
  • sloc: cpp: 363,723; python: 21,138; ansic: 9,146; perl: 3,687; sh: 2,841; fortran: 2,802; xml: 788; makefile: 485; objc: 238; lisp: 169; f90: 145; csh: 16; awk: 14
file content (81 lines) | stat: -rw-r--r-- 3,006 bytes parent folder | download | duplicates (5)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<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_modify command 
</H3>
<P><B>Syntax:</B>
</P>
<PRE>fix_modify fix-ID keyword value ... 
</PRE>
<UL><LI>fix-ID = ID of the fix to modify 

<LI>one or more keyword/value pairs may be appended 

<LI>keyword = <I>temp</I> or <I>press</I> or <I>energy</I> 

<PRE>  <I>temp</I> value = compute ID that calculates a temperature
  <I>press</I> value = compute ID that calculates a pressure
  <I>energy</I> value = <I>yes</I> or <I>no</I> 
</PRE>

</UL>
<P><B>Examples:</B>
</P>
<PRE>fix_modify 3 temp myTemp press myPress
fix_modify 1 energy yes 
</PRE>
<P><B>Description:</B>
</P>
<P>Modify one or more parameters of a previously defined fix.  Only
specific fix styles support specific parameters.  See the doc pages
for individual fix commands for info on which ones support which
fix_modify parameters.
</P>
<P>The <I>temp</I> keyword is used to determine how a fix computes
temperature.  The specified compute ID must have been previously
defined by the user via the <A HREF = "compute.html">compute</A> command and it must
be a style of compute that calculates a temperature.  All fixes that
compute temperatures define their own compute by default, as described
in their documentation.  Thus this option allows the user to override
the default method for computing T.
</P>
<P>The <I>press</I> keyword is used to determine how a fix computes pressure.
The specified compute ID must have been previously defined by the user
via the <A HREF = "compute.html">compute</A> command and it must be a style of
compute that calculates a pressure.  All fixes that compute pressures
define their own compute by default, as described in their
documentation.  Thus this option allows the user to override the
default method for computing P.
</P>
<P>For fixes that calculate a contribution to the potential energy of the
system, the <I>energy</I> keyword will include that contribution in
thermodynamic output of potential energy.  See the
<A HREF = "thermo_style.html">thermo_style</A> command for info on how potential
energy is output.  The contribution by itself can be printed by using
the keyword f_ID in the thermo_style custom command, where ID is the
fix-ID of the appropriate fix.  Note that you must use this setting
for a fix if you are using it when performing an <A HREF = "minimize.html">energy
minimization</A> and if you want the energy and forces it
produces to be part of the optimization criteria.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B>
</P>
<P><A HREF = "fix.html">fix</A>, <A HREF = "compute_temp.html">compute temp</A>, <A HREF = "compute_pressure.html">compute
pressure</A>, <A HREF = "thermo_style.html">thermo_style</A>
</P>
<P><B>Default:</B>
</P>
<P>The option defaults are temp = ID defined by fix, press = ID defined
by fix, energy = no.
</P>
</HTML>