Example #1
0
int ex_get_n_elem_var(int exoid, int time_step, int elem_var_index, ex_entity_id elem_blk_id,
                      int64_t num_elem_this_blk, int64_t start_elem_num, int64_t num_elem,
                      void *elem_var_vals)
{
  return ex_get_partial_var(exoid, time_step, EX_ELEM_BLOCK, elem_var_index, elem_blk_id,
                            start_elem_num, num_elem, elem_var_vals);
}
Example #2
0
int ne_get_n_nodal_var(int     neid,            /* NetCDF/Exodus file ID */
                       int     time_step,       /* whole time step number */
                       int     nodal_var_index, /* index of desired nodal var */
                       int64_t start_node_num,  /* starting node number */
                       int64_t num_nodes,       /* number of nodes to read */
                       void *  nodal_vars       /* array of nodal var values */
                       )
{
  return ex_get_partial_var(neid, time_step, EX_NODAL, nodal_var_index, 1, start_node_num,
                            num_nodes, nodal_vars);
}
Example #3
0
/*=============================================================================
 *     Variable Routines
 *===========================================================================*/
int ne_get_n_elem_var(int          neid,              /* NetCDF/Exodus file ID */
                      int          time_step,         /* time index */
                      int          elem_var_index,    /* elemental variable index */
                      ex_entity_id elem_blk_id,       /* elemental block id */
                      int64_t      num_elem_this_blk, /* number of elements in block */
                      int64_t      start_elem_num,    /* Starting position for read */
                      int64_t      num_elem,          /* Number of elements to read */
                      void *       elem_var_vals      /* variable values */
                      )
{
  return ex_get_partial_var(neid, time_step, EX_ELEM_BLOCK, elem_var_index, elem_blk_id,
                            start_elem_num, num_elem, elem_var_vals);
}
Example #4
0
int ex_get_n_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node,
                       int64_t num_nodes, void *var_vals)
{
  return ex_get_partial_var(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node, num_nodes,
                            var_vals);
}