lammps 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #------------------------------------------------------------------------------
  2. # $File: lammps,v 1.1 2021/03/14 16:24:18 christos Exp $
  3. #
  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. # Binary restart file for the LAMMPS MD code
  10. 0 string LammpS\ RestartT LAMMPS binary restart file
  11. >0x14 long x (rev %d),
  12. >>0x20 string x Version %s,
  13. >>>0x10 lelong 0x0001 Little Endian
  14. >>>0x10 lelong 0x1000 Big Endian
  15. # Atom style binary dump file for the LAMMPS MD code
  16. # written on a little endian machine
  17. 0 lequad -8
  18. >0x08 string DUMPATOM LAMMPS atom style binary dump
  19. >>0x14 long x (rev %d),
  20. >>>0x10 lelong 0x0001 Little Endian,
  21. >>>>0x18 lequad x First time step: %lld
  22. # written on a big endian machine
  23. 0 bequad -8
  24. >0x08 string DUMPATOM LAMMPS atom style binary dump
  25. >>0x14 belong x (rev %d),
  26. >>>0x10 lelong 0x1000 Big Endian,
  27. >>>>0x18 bequad x First time step: %lld
  28. # Atom style binary dump file for the LAMMPS MD code
  29. # written on a little endian machine
  30. 0 lequad -10
  31. >0x08 string DUMPCUSTOM LAMMPS custom style binary dump
  32. >>0x16 lelong x (rev %d),
  33. >>>0x12 lelong 0x0001 Little Endian,
  34. >>>>0x1a lequad x First time step: %lld
  35. # written on a big endian machine
  36. 0 bequad -10
  37. >0x08 string DUMPCUSTOM LAMMPS custom style binary dump
  38. >>0x16 belong x (rev %d),
  39. >>>0x12 lelong 0x1000 Big Endian,
  40. >>>>0x1a bequad x First time step: %lld
  41. # LAMMPS log file
  42. 0 string LAMMPS\ ( LAMMPS log file
  43. >8 regex/16 [0-9]+\ [A-Za-z]+\ [0-9]+ written by version %s
  44. # Data file written either by LAMMPS, msi2lmp or VMD/TopoTools
  45. 0 string LAMMPS\ data\ file LAMMPS data file
  46. >0x12 string CGCMM\ style written by TopoTools
  47. >0x12 string msi2lmp written by msi2lmp
  48. >0x11 string via\ write_data written by LAMMPS
  49. # LAMMPS data file written by OVITO
  50. 0 string #\ LAMMPS\ data\ file LAMMPS data file
  51. >0x13 string written\ by\ OVITO written by OVITO
  52. # LAMMPS text mode dump file
  53. 0 string ITEM:\ TIMESTEP LAMMPS text mode dump,
  54. >15 regex/16 [0-9]+ First time step: %s