Functions

Reading and Writing Datasets
[H5Block C API]

Functions

h5_err_t H5Block3dWriteScalarFieldFloat64 (h5_file_t *f, const char *name, const h5_float64_t *data)
h5_err_t H5Block3dReadScalarFieldFloat64 (h5_file_t *f, const char *name, h5_float64_t *data)
h5_err_t H5Block3dWriteVector3dFieldFloat64 (h5_file_t *f, const char *name, const h5_float64_t *x_data, const h5_float64_t *y_data, const h5_float64_t *z_data)
h5_err_t H5Block3dReadVector3dFieldFloat64 (h5_file_t *f, const char *name, h5_float64_t *x_data, h5_float64_t *y_data, h5_float64_t *z_data)
h5_err_t H5Block3dWriteScalarFieldFloat32 (h5_file_t *f, const char *name, const h5_float32_t *data)
h5_err_t H5Block3dReadScalarFieldFloat32 (h5_file_t *f, const char *name, h5_float32_t *data)
h5_err_t H5Block3dWriteVector3dFieldFloat32 (h5_file_t *f, const char *name, const h5_float32_t *x_data, const h5_float32_t *y_data, const h5_float32_t *z_data)
h5_err_t H5Block3dReadVector3dFieldFloat32 (h5_file_t *f, const char *name, h5_float32_t *x_data, h5_float32_t *y_data, h5_float32_t *z_data)
h5_err_t H5Block3dWriteScalarFieldInt64 (h5_file_t *f, const char *name, const h5_int64_t *data)
h5_err_t H5Block3dReadScalarFieldInt64 (h5_file_t *f, const char *name, h5_int64_t *data)
h5_err_t H5Block3dWriteVector3dFieldInt64 (h5_file_t *f, const char *name, const h5_int64_t *x_data, const h5_int64_t *y_data, const h5_int64_t *z_data)
h5_err_t H5Block3dReadVector3dFieldInt64 (h5_file_t *f, const char *name, h5_int64_t *x_data, h5_int64_t *y_data, h5_int64_t *z_data)
h5_err_t H5Block3dWriteScalarFieldInt32 (h5_file_t *f, const char *name, const h5_int32_t *data)
h5_err_t H5Block3dReadScalarFieldInt32 (h5_file_t *f, const char *name, h5_int32_t *data)
h5_err_t H5Block3dWriteVector3dFieldInt32 (h5_file_t *f, const char *name, const h5_int32_t *x_data, const h5_int32_t *y_data, const h5_int32_t *z_data)
h5_err_t H5Block3dReadVector3dFieldInt32 (h5_file_t *f, const char *name, h5_int32_t *x_data, h5_int32_t *y_data, h5_int32_t *z_data)

Function Documentation

h5_err_t H5Block3dWriteScalarFieldFloat64 ( h5_file_t *  f,
const char *  name,
const h5_float64_t *  data 
)

Write a 3-dimensional field name from the buffer starting at data to the current time-step using the defined field layout. Values are floating points (64-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5_err_t H5Block3dReadScalarFieldFloat64 ( h5_file_t *  f,
const char *  name,
h5_float64_t *  data 
)

Read a 3-dimensional field name into the buffer starting at data from the current time-step using the defined field layout. Values are floating points (64-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5_err_t H5Block3dWriteVector3dFieldFloat64 ( h5_file_t *  f,
const char *  name,
const h5_float64_t *  x_data,
const h5_float64_t *  y_data,
const h5_float64_t *  z_data 
)

Write a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with floating points (64-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataIN: X axis data
y_dataIN: Y axis data
z_dataIN: Z axis data
h5_err_t H5Block3dReadVector3dFieldFloat64 ( h5_file_t *  f,
const char *  name,
h5_float64_t *  x_data,
h5_float64_t *  y_data,
h5_float64_t *  z_data 
)

Read a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with floating points (64-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataOUT: X axis data
y_dataOUT: Y axis data
z_dataOUT: Z axis data
h5_err_t H5Block3dWriteScalarFieldFloat32 ( h5_file_t *  f,
const char *  name,
const h5_float32_t *  data 
)

Write a 3-dimensional field name from the buffer starting at data to the current time-step using the defined field layout. Values are floating points (32-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5_err_t H5Block3dReadScalarFieldFloat32 ( h5_file_t *  f,
const char *  name,
h5_float32_t *  data 
)

Read a 3-dimensional field name into the buffer starting at data from the current time-step using the defined field layout. Values are floating points (32-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5_err_t H5Block3dWriteVector3dFieldFloat32 ( h5_file_t *  f,
const char *  name,
const h5_float32_t *  x_data,
const h5_float32_t *  y_data,
const h5_float32_t *  z_data 
)

Write a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with floating points (32-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataIN: X axis data
y_dataIN: Y axis data
z_dataIN: Z axis data
h5_err_t H5Block3dReadVector3dFieldFloat32 ( h5_file_t *  f,
const char *  name,
h5_float32_t *  x_data,
h5_float32_t *  y_data,
h5_float32_t *  z_data 
)

Read a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with floating points (32-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataOUT: X axis data
y_dataOUT: Y axis data
z_dataOUT: Z axis data
h5_err_t H5Block3dWriteScalarFieldInt64 ( h5_file_t *  f,
const char *  name,
const h5_int64_t *  data 
)

Write a 3-dimensional field name from the buffer starting at data to the current time-step using the defined field layout. Values are integers (64-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5_err_t H5Block3dReadScalarFieldInt64 ( h5_file_t *  f,
const char *  name,
h5_int64_t *  data 
)

Read a 3-dimensional field name into the buffer starting at data from the current time-step using the defined field layout. Values are integers (64-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5_err_t H5Block3dWriteVector3dFieldInt64 ( h5_file_t *  f,
const char *  name,
const h5_int64_t *  x_data,
const h5_int64_t *  y_data,
const h5_int64_t *  z_data 
)

Write a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with integers (64-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataIN: X axis data
y_dataIN: Y axis data
z_dataIN: Z axis data
h5_err_t H5Block3dReadVector3dFieldInt64 ( h5_file_t *  f,
const char *  name,
h5_int64_t *  x_data,
h5_int64_t *  y_data,
h5_int64_t *  z_data 
)

Read a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with integers (64-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataOUT: X axis data
y_dataOUT: Y axis data
z_dataOUT: Z axis data
h5_err_t H5Block3dWriteScalarFieldInt32 ( h5_file_t *  f,
const char *  name,
const h5_int32_t *  data 
)

Write a 3-dimensional field name from the buffer starting at data to the current time-step using the defined field layout. Values are integers (32-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5_err_t H5Block3dReadScalarFieldInt32 ( h5_file_t *  f,
const char *  name,
h5_int32_t *  data 
)

Read a 3-dimensional field name into the buffer starting at data from the current time-step using the defined field layout. Values are integers (32-bit).

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5_err_t H5Block3dWriteVector3dFieldInt32 ( h5_file_t *  f,
const char *  name,
const h5_int32_t *  x_data,
const h5_int32_t *  y_data,
const h5_int32_t *  z_data 
)

Write a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with integers (32-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataIN: X axis data
y_dataIN: Y axis data
z_dataIN: Z axis data
h5_err_t H5Block3dReadVector3dFieldInt32 ( h5_file_t *  f,
const char *  name,
h5_int32_t *  x_data,
h5_int32_t *  y_data,
h5_int32_t *  z_data 
)

Read a 3-dimensional field name with 3-dimensional vectors as values from the buffers starting at x_data, y_data and z_data to the current time-step using the defined field layout. Values are 3-dimensional vectors with integers (32-bit) values.

You must use the Fortran indexing scheme to access items in data.

Returns:
H5_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
x_dataOUT: X axis data
y_dataOUT: Y axis data
z_dataOUT: Z axis data