Unverified Commit fe99bb9f authored by Richard Berger's avatar Richard Berger Committed by GitHub
Browse files

Merge pull request #6 from lammps/sdata-log-enhance

new options for log and sdata tools
parents 0fbd12de 6c5cf6ed
Loading
Loading
Loading
Loading
+6 −4
Changes for doc/Manual.html: 6 added lines, 4 removed lines.
Original line number Diff line number Diff line
<HTML>
<HEAD>
<TITLE>Pizza.py Users Manual</TITLE>
<META NAME="docnumber" CONTENT="Pizza.py Toolkit">
<TITLE>Pizza.py Toolkit Users Manual</TITLE>
<META NAME="docnumber" CONTENT="23 Dec 2020 version">
<META NAME="author" CONTENT="http://pizza.sandia.gov - Sandia National Laboratories">
<META NAME="copyright" CONTENT="Copyright (2005) Sandia Corporation.  This software and manual is distributed under the GNU General Public License.">
</HEAD>
@@ -22,6 +22,8 @@

<CENTER><H3>Pizza.py Documentation 
</H3></CENTER>
<CENTER><H4>23 Dec 2020 version 
</H4></CENTER>
<H4>Version info: 
</H4>
<P>The Pizza.py "version" is the date when it was released, such as 1 May
@@ -30,8 +32,8 @@ feature, we release it immediately, and post a notice on <A HREF = "http://www.c
the WWW site</A>.  Each dated copy of Pizza.py contains all the
features and bug-fixes up to and including that version date. The
version date is printed to the screen and logfile every time you run
Pizza.py. It is also in the file src/version.h and in the Pizza.py
directory name created when you unpack a tarball.
Pizza.py. It is also in the Pizza.py
directory name created when you unpack a tarball and on this page.
</P>
<UL><LI>If you browse the HTML or PDF doc pages on the Pizza.py WWW site, they
always describe the most current version of Pizza.py. 
−867 KiB

File deleted.

+5 −4
Changes for doc/Manual.txt: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
<HEAD>
<TITLE>Pizza.py Users Manual</TITLE>
<META NAME="docnumber" CONTENT="Pizza.py Toolkit">
<TITLE>Pizza.py Toolkit Users Manual</TITLE>
<META NAME="docnumber" CONTENT="23 Dec 2020 version">
<META NAME="author" CONTENT="http://pizza.sandia.gov - Sandia National Laboratories">
<META NAME="copyright" CONTENT="Copyright (2005) Sandia Corporation.  This software and manual is distributed under the GNU General Public License.">
</HEAD>
@@ -18,6 +18,7 @@
<H1></H1>

Pizza.py Documentation :c,h3
23 Dec 2020 version :c,h4

Version info: :h4

@@ -27,8 +28,8 @@ feature, we release it immediately, and post a notice on "this page of
the WWW site"_bug.  Each dated copy of Pizza.py contains all the
features and bug-fixes up to and including that version date. The
version date is printed to the screen and logfile every time you run
Pizza.py. It is also in the file src/version.h and in the Pizza.py
directory name created when you unpack a tarball.
Pizza.py. It is also in the Pizza.py
directory name created when you unpack a tarball and on this page.

If you browse the HTML or PDF doc pages on the Pizza.py WWW site, they
always describe the most current version of Pizza.py. :ulb,l
+x+8
Changes for doc/PDFgen.sh: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
#!/bin/csh
# generate a PDF version of Manual

txt2html -b *.txt

htmldoc --title --toctitle "Table of Contents" --tocfooter ..i --toclevels 4 --header ... --footer ..1 --size letter --linkstyle plain --linkcolor blue -f Manual.pdf Manual.html Section_intro.html Section_install.html Section_basics.html Section_tools.html Section_examples.html Section_extend.html [a-z]*.html

txt2html *.txt
+9
Changes for doc/log.html: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ l = log("file*") wildcard expands to multiple files
l = log("log.lammps",0)              two args = store filename, but don't read 
</PRE>
<PRE>  incomplete and duplicate thermo entries are deleted
  skip applied within individual files, def = 1 (no skip) 
</PRE>
<PRE>time = l.next()                      read new thermo info from file 
</PRE>
@@ -45,6 +46,14 @@ l = log("log.lammps",0) two args = store filename, but don't read
  return time stamp of last thermo read
  return -1 if no new thermo since last read 
</PRE>
<PRE>l.skip = 2                           only keep log data for every Nth run (def=1) 
</PRE>
<PRE>  applied within single log files
  use as follows:
    l = log(file,0)
    l.skip = 2
    l.read_all() 
</PRE>
<PRE>nvec = l.nvec                        # of vectors of thermo info
nlen = l.nlen                        length of each vectors
names = l.names                      list of vector names
Loading