示例#1
0
int ex_put_n_nodal_var(int exoid, int time_step, int nodal_var_index, int64_t start_node,
                       int64_t num_nodes, const void *nodal_var_vals)

{
  return ex_put_partial_var(exoid, time_step, EX_NODAL, nodal_var_index, 1, start_node, num_nodes,
                            nodal_var_vals);
}
示例#2
0
int ne_put_nodal_var_slab(int     neid,            /* NetCDF/Exodus file ID */
                          int     time_step,       /* The time step index */
                          int     nodal_var_index, /* Nodal variable index */
                          int64_t start_pos,       /* Start position for write */
                          int64_t num_vals,        /* Number of nodal variables */
                          void *  nodal_var_vals   /* Nodal variable values */
                          )
{
  return ex_put_partial_var(neid, time_step, EX_NODAL, nodal_var_index, 1, start_pos, num_vals,
                            nodal_var_vals);
}
示例#3
0
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)
{
    return ex_put_partial_var(exoid, time_step, var_type, var_index, obj_id, start_index, num_entities, var_vals);
}
示例#4
0
int ne_put_elem_var_slab(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      start_pos,      /* Starting position to write to */
                         int64_t      num_vals,       /* Number of elements to write */
                         void *       elem_var_vals   /* variable values */
                         )
{
  return ex_put_partial_var(neid, time_step, EX_ELEM_BLOCK, elem_var_index, elem_blk_id, start_pos,
                            num_vals, elem_var_vals);
}