mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
Committer: ckloss <ckloss@fluid38.(none)>
On branch master Initial commit for lpp, version 2011-10-11
This commit is contained in:
19
scripts/dview.py
Normal file
19
scripts/dview.py
Normal file
@ -0,0 +1,19 @@
|
||||
#!/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)
|
||||
Reference in New Issue
Block a user