mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
17 lines
382 B
Python
17 lines
382 B
Python
# 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"
|