Previous: Analysis Read, Up: I/O in Analysis


21.2 The Analysis WRITE Command

The analysis WRITE command is used to write averaging data structures as well as coordinates from the analysis facility. Coordinate writing is especially useful after a COMPARE command has been performed, see Comparisons.

21.2.1 Syntax

                        {  ICAV }
                        {  AVX  }
                        {  AVV  }
        WRITE [COMPARE] {  PAX  } TITLE string del UNIT unit-number
                        {  PAV  }
                        {AVECOOR}
                        {  COOR }

21.2.2 Function

The WRITE command is used for writing data structures to files. The dynamics averages data structures may be specified as with the READ command. Also, one specify either the dynamical average coordinates which are produced from manipulating the average X (AVX) averaging data structures or one may specify the coordinates. For the main structure, the coordinates will be identical to those read in the main program, but with comparison coordinates, one gets coordinates which may have been translated and rotated to fit the main coordinates in the last COMPARE command.

The COMPARE option specifies that the comparison data structures should be used. If left out, the main structure is used. In reference to the data structure being written, the first five operands (ICAV, AVX, AVV, PAX, and PAV) are the same as in the READ command. AVECOOR specifies the average coordinates as collected in the average X data structures, specifically PAX. COOR is the coordinates. The TITLE operand specifies a title to be written on the file. The UNIT operand specifies what Fortran unit the file should be written to. Both TITLE and UNIT are obligatory; if not specified, no file will be written.

The title specified in this command undergoes some processing before it is put into the file. Since the CONGEN format for files requires a title of 80 character records, the title string is broken at spaces (if possible) to keep each line within 80 characters. Since the command processor in the analysis facility ignores the existence of records, one needs a special way to break a line at a point other than at 80 characters. One may specify three slashes, ///, to indicate a break. No spaces are inserted on either side of the three slashes when the title is constructed.