ucd cell arrows

Name

ucd cell arrows

Synopsis

Draw Vector Arrows from Cell Centroids for Finite Volume UCD data

Author

Ian Curington, AVS Inc, Staines, UK  < ianc@avs.com >

Type

Mapper

Input

UCD

Output

Geometry

Parameters


	Name		Type		Choices
	Scale		float		1.0, unbounded
Source	ucd_cell_arrows.c

Description

  
   This  module draws vectors with arrow heads from UCD input
   showing CELL vector data.
  
   This is a special ucd mapper module designed to make
   representations based on CELL based values rather than
   the more typical NODE based values. If you have CELL based
   values, you should also consider the ucd_cell_to_node module.
   The module will draw both 2D and 3D vectors, as required.
   The Scale dial is simply a length multiplier.
  
This module is intended as a source example for other UCD module
developers.
Restrictions: This relies on AVS version 4.0 or later,
              as READ UCD had cell data bugs in version 3.0.

Related modules

ucd_to_geom, ucd_contour, ucd_cell_geom

Example network

( see ucd_cell_arrows.net )
A data file is included to test the module.
                    READ_UCD  (cell-based vectors)
           ------------|
           |           |
       UCD CELL ARROWS |
           |           |
           |     UCD TO GEOM (edge mode)
           |          |
           |----|     |
              RENDER GEOMETRY
                     |
              DISPLAY PIXMAP