moab
Node coordinate data.

Functions

int mhdf_haveNodes (mhdf_FileHandle file_handle, mhdf_Status *status)
hid_t mhdf_createNodeCoords (mhdf_FileHandle file_handle, int dimension, long num_nodes, long *first_node_id_out, mhdf_Status *status)
 Create new table for node coordinate data.
hid_t mhdf_openNodeCoords (mhdf_FileHandle file_handle, long *num_nodes_out, int *dimension_out, long *first_node_id_out, mhdf_Status *status)
 Open table containing node coordinate data.
hid_t mhdf_openNodeCoordsSimple (mhdf_FileHandle file_handle, mhdf_Status *status)
void mhdf_writeNodeCoords (hid_t data_handle, long offset, long count, const double *coords, mhdf_Status *status)
 Write node coordinate data.
void mhdf_writeNodeCoordsWithOpt (hid_t data_handle, long offset, long count, const double *coords, hid_t write_prop, mhdf_Status *status)
void mhdf_writeNodeCoord (hid_t data_handle, long offset, long count, int dimension, const double *coords, mhdf_Status *status)
 Write node coordinate data.
void mhdf_writeNodeCoordWithOpt (hid_t data_handle, long offset, long count, int dimension, const double *coords, hid_t write_prop, mhdf_Status *status)
void mhdf_readNodeCoords (hid_t data_handle, long offset, long count, double *coordinates, mhdf_Status *status)
 Read node coordinate data.
void mhdf_readNodeCoordsWithOpt (hid_t data_handle, long offset, long count, double *coordinates, hid_t read_prop, mhdf_Status *status)
void mhdf_readNodeCoord (hid_t data_handle, long offset, long count, int dimension, double *coords, mhdf_Status *status)
 Read node coordinate data.
void mhdf_readNodeCoordWithOpt (hid_t data_handle, long offset, long count, int dimension, double *coords, hid_t read_prop, mhdf_Status *status)

Function Documentation

hid_t mhdf_createNodeCoords ( mhdf_FileHandle  file_handle,
int  dimension,
long  num_nodes,
long *  first_node_id_out,
mhdf_Status status 
)

Create new table for node coordinate data.

Parameters:
file_handleThe file.
dimensionNumber of coordinate values per node.
num_nodesThe number of nodes the table will contain.
first_node_id_outNodes are assigned IDs sequentially in the order they occur in the table, where the ID of the first node in the table is this passed-back value.
statusPassed back status of API call.
Returns:
An HDF5 handle to the coordinate table.
int mhdf_haveNodes ( mhdf_FileHandle  file_handle,
mhdf_Status status 
)
hid_t mhdf_openNodeCoords ( mhdf_FileHandle  file_handle,
long *  num_nodes_out,
int *  dimension_out,
long *  first_node_id_out,
mhdf_Status status 
)

Open table containing node coordinate data.

Parameters:
file_handleThe file.
dimension_outNumber of coordinate values per node.
num_nodes_outThe number of nodes the table contains.
first_node_id_outNodes are assigned IDs sequentially in the order they occur in the table, where the ID of the first node in the table is this passed-back value.
statusPassed back status of API call.
Returns:
An HDF5 handle to the coordinate table.
hid_t mhdf_openNodeCoordsSimple ( mhdf_FileHandle  file_handle,
mhdf_Status status 
)
void mhdf_readNodeCoord ( hid_t  data_handle,
long  offset,
long  count,
int  dimension,
double *  coords,
mhdf_Status status 
)

Read node coordinate data.

Read a single coordinate value (e.g. the 'x' coordinate) for a block of nodes.

Parameters:
data_handleHandle returned from mhdf_createNodeCoords or mhdf_openNodeCoords.
offsetTable row (node index) at which to start reading.
countNumber of rows (number of nodes) to read.
dimensionThe coordinate to read (0->x, 1->y, ...)
coordsBuffer in which to write node coordinate data.
statusPassed back status of API call.
void mhdf_readNodeCoords ( hid_t  data_handle,
long  offset,
long  count,
double *  coordinates,
mhdf_Status status 
)

Read node coordinate data.

Read interleaved coordinate data for a block of nodes

Parameters:
data_handleHandle returned from mhdf_createNodeCoords or mhdf_openNodeCoords.
offsetTable row (node index) at which to start reading.
countNumber of rows (number of nodes) to read.
coordinatesBuffer in which to write node coordinate data.
statusPassed back status of API call.
void mhdf_readNodeCoordsWithOpt ( hid_t  data_handle,
long  offset,
long  count,
double *  coordinates,
hid_t  read_prop,
mhdf_Status status 
)
void mhdf_readNodeCoordWithOpt ( hid_t  data_handle,
long  offset,
long  count,
int  dimension,
double *  coords,
hid_t  read_prop,
mhdf_Status status 
)
void mhdf_writeNodeCoord ( hid_t  data_handle,
long  offset,
long  count,
int  dimension,
const double *  coords,
mhdf_Status status 
)

Write node coordinate data.

Write a single coordinate value (e.g. the 'x' coordinate) for a block of nodes.

Parameters:
data_handleHandle returned from mhdf_createNodeCoords or mhdf_openNodeCoords.
offsetTable row (node index) at which to start writing.
countNumber of rows (number of nodes) to write.
dimensionThe coordinate to write (0->x, 1->y, ...)
coordsCoordinate list.
statusPassed back status of API call.
void mhdf_writeNodeCoords ( hid_t  data_handle,
long  offset,
long  count,
const double *  coords,
mhdf_Status status 
)

Write node coordinate data.

Write interleaved coordinate data for a block of nodes

Parameters:
data_handleHandle returned from mhdf_createNodeCoords or mhdf_openNodeCoords.
offsetTable row (node index) at which to start writing.
countNumber of rows (number of nodes) to write.
coordsInterleaved node coordinate data.
statusPassed back status of API call.
void mhdf_writeNodeCoordsWithOpt ( hid_t  data_handle,
long  offset,
long  count,
const double *  coords,
hid_t  write_prop,
mhdf_Status status 
)
void mhdf_writeNodeCoordWithOpt ( hid_t  data_handle,
long  offset,
long  count,
int  dimension,
const double *  coords,
hid_t  write_prop,
mhdf_Status status 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines