Add a POINT ARRAY variable to a VAR file.
Synopsis
EIF_add_varpoint_array (lu, iarray, ibase, varname,index, point)
Input Parameters
int lu,*iarray, *ibase, index; char *varname; double point;
Output Parameters
none
Returns
Returns TRUE if there are no errors or otherwise FALSE.
Arguments
lu |
Logic
unit for the VAR file. |
iarray |
Buffer
where to write the variables. |
ibase |
Displacement
inside the buffer. |
varname |
Name
of the variable. |
index |
index
of the array. |
value |
Value of the variable. |
Include Files
EIF_lib.h, EIF_std.h
Example
#include <string.h> #include <stdio.h> #include "EIF_std.h" #include "EIF_lib.h" ... int lu, ibase, index, iarray[1024]; char varName[32]; double pt[3]; ... strcpy( varName, “EDR_NODES”); index = 1; pt[0] = 100; pt[1] = 50; pt[2] = 0; if( !EIF_add_varpoint_array ( lu, &iarray[0], &ibase, varName, index, pt ) ) { printf(“*** Error adding a POINT ARRAY variable to VAR file ***\n”); } ...
Related Routines
EIF_open_var,
EIF_close_read_var
,
EIF_close_write_var, VAR
files sample