next up previous contents
Next: IOASCII Parameters Up: IOASCII Previous: Abstract   Contents

Purpose

Thorn IOASCII registers three I/O methods named IOASCII_1D, IOASCII_2D, and IOASCII_3D with the I/O interface in the flesh.

  • IOASCII_1D
    creates one-dimensional output of 1D, 2D and 3D grid functions and arrays by slicing through the edge (in the octant case) or center (in all origin centered cases) of the grid in the coordinate directions. In addition, output is provided along a diagonal of the grid, in this case the diagonal always starts at the first grid point (that is, in Fortran notation var(1,1,1)) and the line taken uses grid points increasing by 1 in each direction. [NOTE: The diagonal output is not available for staggered variables].
    Output for each direction can be selected individually via parameters.
    Data is written in ASCII format and goes into files with the names:
    <variable_name>_<slice>_[<center_i>][<center_j>].{asc|xg}
    and for diagonals:
    <variable_name>_3D_diagonal.{asc|xg}
    These files can be processed directly by either xgraph or gnuplot (you can select the style of output via parameter settings).

  • IOASCII_2D outputs two-dimensional slices of grid functions and arrays planes. Again, slicing is done through the edge (in the octant case) or center (in all origin centered cases).
    Data is written in ASCII format and goes into files named
    <variable_name>_<plane>_[<center>].{asc|xg}
    These files can be visualized by gnuplot using its splot command.

  • IOASCII_3D outputs three-dimensional grid functions and arrays as a whole.
    Data is written in ASCII format and goes into files named
    <variable_name>_3D.{asc|xg}
    These files can be visualized by gnuplot using its splot command.

next up previous contents
Next: IOASCII Parameters Up: IOASCII Previous: Abstract   Contents