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