[comp.graphics.visualization] Building AVS modules

somick@nmsu.edu (Steven R. Omick) (05/23/91)

	We have recently obtained a Stardent computer with AVS.  My
current application is time domain modeling.  I use a uniformly
discretized mesh and for now I have been saving time slice results to
multiple files and then using the network editor to view them.  What I
would like to do is include my fortran code as a module in the Network
editor and dump time slice results directly through my network file.
If anybody knows if this is possible or has done it, I would really
appreciate any help.  We are running version 2 of AVS.

		Thanks in advance,  
			Steve Omick
			somick@nmsu.edu

larryg@Stardent.COM (Larry Gelberg) (05/23/91)

One succesful technique for dealing with time-based data within AVS
is to build up a 4D field where the first three dimensions are space
and the last dimension is time. I have a couple of modules which then
extract specific time slices (a 4D to 3D 'orthoslicer') or linearly
interpolate between adjacent time steps. 

The biggest disadvantage to this approach is that at least one module
needs to store all the time steps in memory at once. This is
especially cumbersome in AVS2 which does not use shared memory to
elminate data redundancy. AVS3 is available to Stardent customers now
- contact your sales-unit. 

A more elegant approach to dealing with large amounts of time-based
data is to have a module (co-routine) either generate the data on the
fly (import your simulation) or only read those time slices off disk
which you are currently using.

I hope this helps!

-- 
   _______________________________________________________________
  /\      Larry Gelberg                  larryg@stardent.com      \____         
 /\\\       Visualization Software Group                           \   \
 \\\\\        Stardent Computer Inc.              _____________     \   \