Sin_Wav

Name

	Sin_Wav

Author

INFO:	Steve Thorpe
		Application Visualization System Specialist
		International AVS Center
		North Carolina Supercomputing Center
		3021 Cornwallis Road, PO Box 12889
		Research Triangle Park, NC 27709-2889
		avs@ncsc.org

Source files

sin_wav.c

Type

	DATA

Inputs

		NONE

Outputs

	Name			Type		
                vector_field            field 1D 1-space 1-vector uniform float

Parameters

     Name		Type		Default	  Min   Max
		npoints		integer		128       1     360

Description

This little module was written while playing with the graph viewer.
I wanted a simple module to spit out a 1D field, and this did the trick.  
It computes a sin wave, over the range 1..npoints degrees, and spits 
out a "field 1D 1-space 1-vector uniform float" suitable
for display with the graph viewer module.  This may be a useful "starter
module" if you want to learn how to get your 1D data into AVS.
SAMPLE NETWORK:
	     Sin_Wave
	         |
	         |
	graph viewer