ExodusII 4.96
expvv.c File Reference
#include "exodusII.h"
#include "exodusII_int.h"
Include dependency graph for expvv.c:

Functions

int ex_put_varid_var (int exoid, int time_step, int varid, int num_entity, const void *var_vals)

Function Documentation

int ex_put_varid_var ( int  exoid,
int  time_step,
int  varid,
int  num_entity,
const void *  var_vals 
)

writes the values of a single variable at one time step in the database; assume the first time index is 1. Access based on the passed in 'varid'

NOTE: If used for nodal variables, it must be an ex_large_model == 1

Parameters:
exoidint exodus file id
time_stepint whole time step number
varidint id of variable on exodus database
num_entityint number of entities for this variable
var_valsfloat* array of nodal variable values

References ex_comp_ws(), ex_err(), EX_FATAL, EX_NOERR, exerrval, and MAX_ERR_LENGTH.