ExodusII  6.05
ex_put_var.c File Reference
#include <inttypes.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "exodusII.h"
#include "exodusII_int.h"
#include "netcdf.h"

Functions

static int ex_look_up_var (int exoid, ex_entity_type var_type, int var_index, ex_entity_id obj_id, const char *VOBJID, const char *VOBJTAB, const char *DNUMOBJ, const char *DNUMOBJVAR, int *varid)
int ex_put_var (int exoid, int time_step, ex_entity_type var_type, int var_index, ex_entity_id obj_id, int64_t num_entries_this_obj, const void *var_vals)

Function Documentation

static int ex_look_up_var ( int  exoid,
ex_entity_type  var_type,
int  var_index,
ex_entity_id  obj_id,
const char *  VOBJID,
const char *  VOBJTAB,
const char *  DNUMOBJ,
const char *  DNUMOBJVAR,
int *  varid 
) [static]
int ex_put_var ( int  exoid,
int  time_step,
ex_entity_type  var_type,
int  var_index,
ex_entity_id  obj_id,
int64_t  num_entries_this_obj,
const void *  var_vals 
)

writes the values of a single variable for one entity 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_indexvariable index
obj_identity block id
num_entries_this_objnumber of entries in this block/set
var_valsthe values to be written
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines