mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
20 lines
382 B
Python
20 lines
382 B
Python
#!/usr/bin/python
|
|
|
|
# Script: dview.py
|
|
# Purpose: launch vcr tool on LAMMPS dump files
|
|
# Syntax: dview.py dump.1 dump.2 ...
|
|
# files = one or more dump files
|
|
# Example: dview.py dump.*
|
|
# Author: Steve Plimpton (Sandia)
|
|
|
|
# main script
|
|
|
|
if len(argv) < 2:
|
|
raise StandardError, "Syntax: dview.py dump.1 ..."
|
|
|
|
files = ' '.join(argv[1:])
|
|
|
|
d = dump(files)
|
|
g = gl(d)
|
|
v = vcr(g)
|