xref: /netbsd-src/external/bsd/file/dist/magic/magdir/lammps (revision 25f16eeab3cef3574b7944f484c90bae9f02e957)
1*25f16eeaSchristos#------------------------------------------------------------------------------
2*25f16eeaSchristos# $File: lammps,v 1.1 2021/03/14 16:24:18 christos Exp $
3*25f16eeaSchristos#
4*25f16eeaSchristos
5*25f16eeaSchristos# Magic file patterns for use with file(1) for the
6*25f16eeaSchristos# LAMMPS molecular dynamics simulation software.
7*25f16eeaSchristos# https://lammps.sandia.gov
8*25f16eeaSchristos#
9*25f16eeaSchristos# Updated: 2021-03-14 by akohlmey@gmail.com
10*25f16eeaSchristos
11*25f16eeaSchristos# Binary restart file for the LAMMPS MD code
12*25f16eeaSchristos0        string  LammpS\ RestartT  LAMMPS binary restart file
13*25f16eeaSchristos>0x14    long    x                 (rev %d),
14*25f16eeaSchristos>>0x20   string  x                 Version %s,
15*25f16eeaSchristos>>>0x10  lelong  0x0001            Little Endian
16*25f16eeaSchristos>>>0x10  lelong  0x1000            Big Endian
17*25f16eeaSchristos
18*25f16eeaSchristos# Atom style binary dump file for the LAMMPS MD code
19*25f16eeaSchristos# written on a little endian machine
20*25f16eeaSchristos0         lequad  -8
21*25f16eeaSchristos>0x08     string  DUMPATOM     LAMMPS atom style binary dump
22*25f16eeaSchristos>>0x14    long    x            (rev %d),
23*25f16eeaSchristos>>>0x10   lelong  0x0001       Little Endian,
24*25f16eeaSchristos>>>>0x18  lequad  x            First time step: %lld
25*25f16eeaSchristos
26*25f16eeaSchristos# written on a big endian machine
27*25f16eeaSchristos0         bequad  -8
28*25f16eeaSchristos>0x08     string  DUMPATOM     LAMMPS atom style binary dump
29*25f16eeaSchristos>>0x14    belong  x            (rev %d),
30*25f16eeaSchristos>>>0x10   lelong  0x1000       Big Endian,
31*25f16eeaSchristos>>>>0x18  bequad  x            First time step: %lld
32*25f16eeaSchristos
33*25f16eeaSchristos# Atom style binary dump file for the LAMMPS MD code
34*25f16eeaSchristos# written on a little endian machine
35*25f16eeaSchristos0         lequad  -10
36*25f16eeaSchristos>0x08     string  DUMPCUSTOM   LAMMPS custom style binary dump
37*25f16eeaSchristos>>0x16    lelong  x            (rev %d),
38*25f16eeaSchristos>>>0x12   lelong  0x0001       Little Endian,
39*25f16eeaSchristos>>>>0x1a  lequad  x            First time step: %lld
40*25f16eeaSchristos
41*25f16eeaSchristos# written on a big endian machine
42*25f16eeaSchristos0         bequad  -10
43*25f16eeaSchristos>0x08     string  DUMPCUSTOM   LAMMPS custom style binary dump
44*25f16eeaSchristos>>0x16    belong  x            (rev %d),
45*25f16eeaSchristos>>>0x12   lelong  0x1000       Big Endian,
46*25f16eeaSchristos>>>>0x1a  bequad  x            First time step: %lld
47*25f16eeaSchristos
48*25f16eeaSchristos# LAMMPS log file
49*25f16eeaSchristos0         string LAMMPS\ (                    LAMMPS log file
50*25f16eeaSchristos>8        regex/16 [0-9]+\ [A-Za-z]+\ [0-9]+  written by version %s
51*25f16eeaSchristos
52*25f16eeaSchristos# Data file written either by LAMMPS, msi2lmp or VMD/TopoTools
53*25f16eeaSchristos0      string LAMMPS\ data\ file  LAMMPS data file
54*25f16eeaSchristos>0x12  string CGCMM\ style        written by TopoTools
55*25f16eeaSchristos>0x12  string msi2lmp             written by msi2lmp
56*25f16eeaSchristos>0x11  string via\ write_data     written by LAMMPS
57*25f16eeaSchristos
58*25f16eeaSchristos# LAMMPS data file written by OVITO
59*25f16eeaSchristos0      string #\ LAMMPS\ data\ file   LAMMPS data file
60*25f16eeaSchristos>0x13  string written\ by\ OVITO      written by OVITO
61*25f16eeaSchristos
62*25f16eeaSchristos# LAMMPS text mode dump file
63*25f16eeaSchristos0      string    ITEM:\ TIMESTEP      LAMMPS text mode dump,
64*25f16eeaSchristos>15    regex/16  [0-9]+               First time step: %s
65