NAME ucd to wave SYNOPSIS: Write an ucd structure to Wavefront format supported by Data Visualizer Author: Ion Barosan, Computing Center, University of Techology Eindhoven, NL Type: data output Input: ucd structure Output: none Parameters: Name Type Defaults Filename wave browser Source: ucd_to_wave.c DESCRIPTION: The ucd to wave module writes an ucd structure to disk, in wavefront format, format which is supported by Data Visualizer. Ucd to wave works only with node data, therefore if you have cell data , you have to transform the cell data to node data using the cell to node module. Because Data Visulizer doesn't use mid-edge nodes, at this version, the ucd to wave module, generally doesn't use the mid-edge nodes. One exception has been made: if the ucd cell is triangle with all mid-edge nodes present, ucd to wave module will split the triangle in 4 triangles. The user can change the module to support another ucd type which use mid-edge nodes. The wavefront file, that will be written to disk is an ASCII file. INPUTS ucd structure The input can be any UCD structure with node data PARAMETERS Filename wave A file browser that allows you to specify the name of the wave file to be created EXAMPLES The following structures reads in a UCD structure, and writes the wave file to disk: 1. READ UCD (node data) | | | UCD TO WAVE 2. READ UCD (cell data) | | CELL TO NODE | | UCD TO WAVE