forked from lammps/lammps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmagic
73 lines (61 loc) · 2.91 KB
/
magic
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
# Add the contents of this file to either $HOME/.magic
# or /etc/magic so that the file(1) command can recognize
# your LAMMPS files and print some useful information.
# Last change: 2021-03-15 by [email protected]
# Binary restart file for the LAMMPS MD code, https://www.lammps.org
# written on a little endian machine
0 string LammpS\ RestartT LAMMPS binary restart file
>16 lelong 0x0001
>>20 lelong x (rev %d),
>>>32 string x Version %s,
>>>>&41 string x Units %s,
>>>>>&5 lequad x Timestep %lld,
>>>>>>0x10 lelong 0x0001 Little Endian
# written on a big endian machine
0 string LammpS\ RestartT LAMMPS binary restart file
>16 lelong 0x1000 Big Endian
>>20 belong x (rev %d),
>>>32 string x Version %s,
>>>>&41 string x Units %s,
>>>>>&5 bequad x Timestep %lld,
>>>>>>0x10 lelong 0x1000 Big Endian
# Atom style binary dump file for the LAMMPS MD code, https://www.lammps.org
# written on a little endian machine
0 lequad -8
>0x08 string DUMPATOM LAMMPS atom style binary dump
>>0x14 long x (rev %d),
>>>0x10 lelong 0x0001 Little Endian,
>>>>0x18 lequad x First time step: %lld
# written on a big endian machine
0 bequad -8
>0x08 string DUMPATOM LAMMPS atom style binary dump
>>0x14 belong x (rev %d),
>>>0x10 lelong 0x1000 Big Endian,
>>>>0x18 bequad x First time step: %lld
# Atom style binary dump file for the LAMMPS MD code, https://www.lammps.org
# written on a little endian machine
0 lequad -10
>0x08 string DUMPCUSTOM LAMMPS custom style binary dump
>>0x16 lelong x (rev %d),
>>>0x12 lelong 0x0001 Little Endian,
>>>>0x1a lequad x First time step: %lld
# written on a big endian machine
0 bequad -10
>0x08 string DUMPCUSTOM LAMMPS custom style binary dump
>>0x16 belong x (rev %d),
>>>0x12 lelong 0x1000 Big Endian,
>>>>0x1a bequad x First time step: %lld
# LAMMPS log file
0 string LAMMPS\ ( LAMMPS log file
>8 regex/16 [0-9]+\ [A-Za-z]+\ [0-9]+ written by version %s
# Data file written either by LAMMPS, msi2lmp or VMD/TopoTools
0 string LAMMPS\ data\ file LAMMPS data file
>0x12 string CGCMM\ style written by TopoTools
>0x12 string msi2lmp written by msi2lmp
>0x11 string via\ write_data written by LAMMPS
# Data file written by OVITO
0 string #\ LAMMPS\ data\ file LAMMPS data file
>0x13 string written\ by\ OVITO written by OVITO
# LAMMPS text mode dump file
0 string ITEM:\ TIMESTEP LAMMPS text mode dump,
>15 regex/16 [0-9]+ First time step: %s