git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@16053 f3b2605a-c512-4ea7-a41b...
[lammps.git] / doc / src / include.txt
blob95d08db3522d8d291512e477801860f41f78004a
1 "LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
3 :link(lws,http://lammps.sandia.gov)
4 :link(ld,Manual.html)
5 :link(lc,Section_commands.html#comm)
7 :line
9 include command :h3
11 [Syntax:]
13 include file :pre
15 file = filename of new input script to switch to :ul
17 [Examples:]
19 include newfile
20 include in.run2 :pre
22 [Description:]
24 This command opens a new input script file and begins reading LAMMPS
25 commands from that file.  When the new file is finished, the original
26 file is returned to.  Include files can be nested as deeply as
27 desired.  If input script A includes script B, and B includes A, then
28 LAMMPS could run for a long time.
30 If the filename is a variable (see the "variable"_variable.html
31 command), different processor partitions can run different input
32 scripts.
34 [Restrictions:] none
36 [Related commands:]
38 "variable"_variable.html, "jump"_jump.html
40 [Default:] none