| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/***************************************************************************** |
| 9 |
* |
| 10 |
* expcor - ex_put_n_coord |
| 11 |
* |
| 12 |
* entry conditions - |
| 13 |
* input parameters: |
| 14 |
* int exoid exodus file id |
| 15 |
* int start_node_num starting index (1-based) of coordinates |
| 16 |
*to be written. |
| 17 |
* int num_nodes number of nodes to write coordinates |
| 18 |
*for. |
| 19 |
* float* x_coord X coord array |
| 20 |
* float* y_coord y coord array |
| 21 |
* float* z_coord z coord array |
| 22 |
* |
| 23 |
* exit conditions - |
| 24 |
* |
| 25 |
* revision history - |
| 26 |
* |
| 27 |
* |
| 28 |
*****************************************************************************/ |
| 29 |
|
| 30 |
#include "exodusII.h" // for ex_put_partial_coord |
| 31 |
|
| 32 |
/*! |
| 33 |
* \deprecated Use ex_put_partial_coord()(exoid, start_node_num, num_nodes, x_coor, y_coor, z_coor) |
| 34 |
* instead. writes the coordinates of some of the nodes in the model Only writes the 'non-null' |
| 35 |
* arrays. \param exoid exodus file id \param start_node_num the starting index |
| 36 |
* (1-based) of the coordinates to be written \param num_nodes the number of nodes to write |
| 37 |
* coordinates for. \param x_coor x coord array \param y_coor y coord array |
| 38 |
* \param z_coor z coord array |
| 39 |
*/ |
| 40 |
|
| 41 |
int ex_put_n_coord(int exoid, int64_t start_node_num, int64_t num_nodes, const void *x_coor, |
| 42 |
const void *y_coor, const void *z_coor) |
| 43 |
{ |
| 44 |
return ex_put_partial_coord(exoid, start_node_num, num_nodes, x_coor, y_coor, z_coor); |
| 45 |
} |