READBINARRAY(1)           TIPSY COMMANDS          READBINARRAY(1)




NAME

       readbinarray - read an array from a binary file


SYNOPSIS

       readbinarray filename type


DESCRIPTION

       readbinarray  reads in an array of scalars for each parti-
       cle from the file filename for use by commands like array-
       stat,  markarray,  and  viewarray.   The type parameter is
       either int, float or double and indicates  the  format  of
       the file.

       The  file  filename must be a binary file. The file should
       be of the form:


              ntotal

              array_value(i), i = 1 to ntotal

       where ntotal is the total number of particles.  Therefore,
       the  total file length is sizeof(int) + ntotal*sizeof(for-
       mat) bytes.

       The readvector command is used to read in vectors.


SEE ALSO

       arraystat(1), markarray(1), readvector(1), viewarray(1)



KQ Release 2.0            22 MARCH 1994           READBINARRAY(1)

Man(1) output converted with man2html