Name: "ace_to_ucd" Ace to UCD - Example Coroutine with UCD output port Author: Ian Curington, AVS Inc., UK Type: data_input, coroutine Language: C Inputs: none Outputs: ucd structure Parameters: none Description: This is intended as a source code example to show how to allocate and manage a simple UCD output port structure, from within a free-running AVS coroutine. This simulates time varying data on a 2D quadrilateral mesh. It has no parameters or input ports, for simplicity all values are hand-coded. The UCD output structure contains a 2D mesh of quadrilateral cells, with connected shared nodes. The geometric and connectivity info is only built the first time, then only the values change from each time step.