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

Purpose

Thorn IOSDF registers three I/O methods named IOSDF_1D, IOSDF_2D, and IOSDF_3D with the I/O interface in the flesh.

  • IOSDF_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 SDF format and goes into files with the names:
    <variable_name>_<slice>_<center_i><center_j>.sdf
    and for diagonals:
    <variable_name>_3D_diagonal.sdf
    These files can be processed directly by xvs and DV.

  • IOSDF_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 SDF format and goes into files named
    <variable_name>_<plane>_<center>.sdf
    These files can be visualized by DV.

  • IOSDF_3D outputs three-dimensional grid functions and arrays as a whole.
    Data is written in SDF format and goes into files named
    <variable_name>_3D.sdf
    These files can be visualized by DV.

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