Created
July 16, 2017 11:38
-
-
Save pastewka/fd3800ca15ba6f349c03b57a9db25503 to your computer and use it in GitHub Desktop.
Extract "thermo" output section from a LAMMPS log file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
cat log.lammps | sed -n "/Step/,/Loop time/p" | head -n-1 > thermo.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment