ExodusII  6.05
ex_put_var_tab.c File Reference
#include "exodusII.h"

Functions

int ex_put_var_tab (int exoid, const char *var_type, int num_blk, int num_var, int *var_tab)

Function Documentation

int ex_put_var_tab ( int  exoid,
const char *  var_type,
int  num_blk,
int  num_var,
int *  var_tab 
)

writes the EXODUS II variable truth table to the database; also, creates netCDF variables in which to store EXODUS II variable values; although this table isn't required (because the netCDF variables can also be created in ex_put_var), this call will save tremendous time because all of the variables are defined at once while the file is in define mode, rather than going in and out of define mode (causing the entire file to be copied over and over) which is what occurs when the variables are defined in ex_put_var

Parameters:
exoidexodus file id
*var_type'e', 'm', 's' element, nodeset, sideset
num_blknumber of blocks
num_varnumber of variables
*var_tabvariable truth table array
Deprecated:
Use ex_put_truth_table()(exoid, obj_type, num_blk, num_var, var_tab)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines