diff options
author | baiotti <schnetter@cct.lsu.edu> | 2006-09-26 15:09:00 +0000 |
---|---|---|
committer | baiotti <schnetter@cct.lsu.edu> | 2006-09-26 15:09:00 +0000 |
commit | 2a32147b63658b4ecd6cec97c9b541eda6768de7 (patch) | |
tree | 5d3f5103aa1fe2368399a9c6aa5d53f16c4439ed /Carpet/CarpetIOASCII/doc | |
parent | 8a42fa7f686d57faaa748bf4f2087c12eda76c38 (diff) |
CarpetIOASCII and CarpetIOScalar documentation.tex
Add in the documentation missing descriptions of some utility scripts.
darcs-hash:20060926150903-d5812-652e1fb2c182704dbe38312cc88dcdd08a587cea.gz
Diffstat (limited to 'Carpet/CarpetIOASCII/doc')
-rw-r--r-- | Carpet/CarpetIOASCII/doc/documentation.tex | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/doc/documentation.tex b/Carpet/CarpetIOASCII/doc/documentation.tex index cc16fa456..68b90f270 100644 --- a/Carpet/CarpetIOASCII/doc/documentation.tex +++ b/Carpet/CarpetIOASCII/doc/documentation.tex @@ -138,16 +138,36 @@ are some utilities in the src/util directory. These are \item {\bf Carpet2ygraph.pl} A perl script to convert to a format suitable for the {\it xgraph} or {\it ygraph} packages of P. Walker and D. Pollney. +\item {\bf Carpet2ygraph.pl} An improved version of the previous script. +\item {\bf mergeCarpetIOASCII.pl} A perl script to remove duplicate datasets from file(s). \end{itemize} + The first two, written by Scott Hawley, are C codes that require the Makefile (building using the -utils flag from the main Cactus directory currently does not work). Each output one refinement level, either to standard output or to a file. -The last script writes all refinement levels from a given file in a +The third script writes all refinement levels from a given file in a given direction to a number of different files given a prefix filename, where the number in the output filename is given by the -refinement level. +refinement level. Usage: {\tt Carpet2ygraph.pl direction Inputfile Outputfile}, +where direction is 0, 1, 2, for x,y and z. + +The fourth script is an improved version of the previous one. It reads a 1D .asc file and produces a +single file containing all the data from all levels, writing points that are in more levels only +once. The output filename is the original filename with the suffix .asc changed into .xg. The +direction (x,y or z) of the input file is automatically detected from the filename. It recognizes +and converts also scalar data, like norms and extrema. Usage: {\tt Carpet2ygraphCat.pl Inputfile}. + +The fifth script can be used to merge CarpetIOASCII output written before and after recovery. It +reads one or more files in CarpetIOASCII format and writes their contents to STDOUT, eliminating +duplicate datasets (all but the last occurance are discarded), which may be created when a run died +abruptly without checkpointing at the last output itaration and is recovered from a previous +checkpoint. +Usage: {\tt mergeCarpetIOASCII.pl list of files}. \\ +Example 1: {\tt mergeCarpetIOASCII.pl alp.x.asc > alp.x.asc.merged}.\\ +Example 2: {\tt mergeCarpetIOASCII.pl alp.x.asc.firstCHKPT alp.x.asc.secondCHKPT > alp.x.asc.merged}.\\ +This script was written by Thomas Radke. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |