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