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:
16
examples/test_clog.py
Normal file
16
examples/test_clog.py
Normal file
@ -0,0 +1,16 @@
|
||||
# simple test of clog tool
|
||||
# requires files/log.ccell
|
||||
# creates tmp.clog and tmp.clog.two
|
||||
|
||||
c = log("files/log.ccell")
|
||||
|
||||
print "# of vectors =",c.nvec
|
||||
print "length of vectors =",c.nlen
|
||||
print "names of vectors =",c.names
|
||||
|
||||
time,a,b = c.get("Step","prey","predator")
|
||||
print a,b
|
||||
c.write("tmp.clog")
|
||||
c.write("tmp.clog.two","Step","prey")
|
||||
|
||||
print "all done ... type CTRL-D to exit Pizza.py"
|
||||
Reference in New Issue
Block a user