 |
|
RdUcdAnim
RdUcdAnim
Utility
functions called ucd_qsorti & ucd _bsearchi. These do
not seem to be part of AVS (although there is ucd_qsort and
ucd_bsearch in libutil.a). So I simply replaced this by a program
loop, which might result in a performance drop. If somebody knows
what are the arguments to ucd_qsort & ucd _bsearch, please send
me mail, or correct read_ascii.c and resubmit. For now, I just
put a #ifdef CONVEX around the 2 calls.
-In general, this is the first version of both RdUcdAnim and WrUcdAnim,
and it is not fully guaranteed. It will work though, if you
1- use sequence num. mode
2- choose preload or not only BEFORE entering a file name
However, as I'm changing company, I've
rather submit it as is and work further on it later. Please contact
laminie@lanor.matups.fr to know where I am if you want more information,
bug reports, corrections, etc.. for these modules.
Inputs
: None
Ouput :
UCD
Parameters
:
File name: string.
The name of the base input file. This must be a valid .inp file,
with optionally a 6-th value at the end of the first line giving
the max number of time steps. This file will be used to read in
node coordinates & IDs, cell IDs,coordinates,materials,types,and
node lists, the node components,labels and units, and the cell
components, labels and units.
In one file mode, this file will also have node and data coordinates
fore every time step.
In sequence number mode, this name will be used as a prefix to
generate .00,.01,etc.. file names.
File list: string.
In file list mode, this browser allows you to enter the name of a file,
which shoud contain one line with the filename for each time step data.
Preload: boolean.
Default is off.
With this option set, all time steps between First step and Last step
are read in when a file is loaded.This option consumes more memory,
but lessens Disk and Cpu consumption for subsequent operations.
File mode: choice.
If One file, read one big file with all time steps.
If Sequence num. of File list, read one UCD file, and then one file
for each time step.If File list, get file names from another file.
AnimNodePos: boolean.
Specifies whether or not to animate node coordinates for each time step.
Default is ON, if node positions have been recorded.
AnimNodeData: boolean.
Specifies whether or node to animate node data for each time step.
Default is ON, if cell data has been recorded.
AnimeCellData: boolean.
Specifies whether or node to animate cell data for each time step.
Default is ON, if cell data has been recorded.
AnimModelData: boolean.
Specifies whether or node to animate model data for each time step.
Default is ON, if model data has been recorded.
Sleep: boolean.
Default is on.
Triggers the animation.
Single step: oneshot.
Starts a single step.
First step: integer.
Default is 0.
Specifies the first step to animate.
Last step: integer.
Default is 256.
Specifies the last step to animate.
If there are not that much time steps, animation stops after the
last available time step, updating the value of this dial.
Current step: integer.
Default is 0.
Allows you to go to a specific step.
D. LE CORRE
CONVEX S.A
9,Ave Ampere
78180 Montigny-le-Bx
France
E-mail : dlc@lanor.matups.fr
|
|