ExodusII  5.15
ex_put_n_var.c File Reference
#include <stdlib.h>
#include "exodusII.h"
#include "exodusII_int.h"

Defines

#define EX_LOOK_UP_VAR(VOBJID, VVAR, VOBJTAB, DNUMOBJ, DNUMOBJVAR)

Functions

int ex_put_n_var (int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t start_index, int64_t num_entities, const void *var_vals)

Define Documentation

#define EX_LOOK_UP_VAR (   VOBJID,
  VVAR,
  VOBJTAB,
  DNUMOBJ,
  DNUMOBJVAR 
)

Function Documentation

int ex_put_n_var ( int  exoid,
int  time_step,
ex_entity_type  var_type,
int  var_index,
ex_entity_id  obj_id,
int64_t  start_index,
int64_t  num_entities,
const void *  var_vals 
)

writes the values of a single variable for a partial block at one time step to the database; assume the first time step and variable index are 1

Parameters:
exoidexodus file id
time_steptime step number
var_typetype (edge block, face block, edge set, ... )
var_indexelement variable index
obj_idelement block id
start_indexindex of first entity in block to write (1-based)
num_entitiesnumber of entries in this block/set
var_valsthe values to be written
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines