Exodus 7.10

Functions
ex_get_partial_coord_component.c File Reference
`#include "exodusII.h"`
`#include "exodusII_int.h"`

## Functions
int | ex_get_partial_coord_component (int exoid, int64_t start_node_num, int64_t num_nodes, int component, void *coor)

## Function Documentation

## ◆ ex_get_partial_coord_component()

int ex_get_partial_coord_component | ( | int | exoid,
|  | int64_t | start_node_num,
|  | int64_t | num_nodes,
|  | int | component,
|  | void * | coor
| ) |  |

reads the coordinates of some of the nodes in the model for the specified component Memory must be allocated for the coordinate array (coor) before this call is made. The length of the array is at least `num_nodes` Because the coordinates are floating point values, the application code must declare the array passed to be the appropriate type "float" or "double" to match the compute word size passed in ex_create() or ex_open()

Parameters

  | exoid | exodus file id
  | start_node_num | the starting index of the coordinates to be returned.
  | num_nodes | the number of nodes to read coordinates for.
  | component | which component (1=X, 2=Y, 3=Z)
  [out] | coor | Returned coordinate of the nodes for the specified component.