H5Part  1.6.6
Functions
Reading and Writing Datasets
H5Block C API

Functions

h5part_int64_t H5Block3dRead3dVectorFieldFloat32 (H5PartFile *f, const char *name, h5part_float32_t *x_data, h5part_float32_t *y_data, h5part_float32_t *z_data)
h5part_int64_t H5Block3dRead3dVectorFieldFloat64 (H5PartFile *f, const char *name, h5part_float64_t *x_data, h5part_float64_t *y_data, h5part_float64_t *z_data)
h5part_int64_t H5Block3dRead3dVectorFieldInt32 (H5PartFile *f, const char *name, h5part_int32_t *x_data, h5part_int32_t *y_data, h5part_int32_t *z_data)
h5part_int64_t H5Block3dRead3dVectorFieldInt64 (H5PartFile *f, const char *name, h5part_int64_t *x_data, h5part_int64_t *y_data, h5part_int64_t *z_data)
h5part_int64_t H5Block3dReadScalarFieldFloat32 (H5PartFile *f, const char *name, h5part_float32_t *data)
h5part_int64_t H5Block3dReadScalarFieldFloat64 (H5PartFile *f, const char *name, h5part_float64_t *data)
h5part_int64_t H5Block3dReadScalarFieldInt32 (H5PartFile *f, const char *name, h5part_int32_t *data)
h5part_int64_t H5Block3dReadScalarFieldInt64 (H5PartFile *f, const char *name, h5part_int64_t *data)
h5part_int64_t H5Block3dWrite3dVectorFieldFloat32 (H5PartFile *f, const char *name, const h5part_float32_t *x_data, const h5part_float32_t *y_data, const h5part_float32_t *z_data)
h5part_int64_t H5Block3dWrite3dVectorFieldFloat64 (H5PartFile *f, const char *name, const h5part_float64_t *x_data, const h5part_float64_t *y_data, const h5part_float64_t *z_data)
h5part_int64_t H5Block3dWrite3dVectorFieldInt32 (H5PartFile *f, const char *name, const h5part_int32_t *x_data, const h5part_int32_t *y_data, const h5part_int32_t *z_data)
h5part_int64_t H5Block3dWrite3dVectorFieldInt64 (H5PartFile *f, const char *name, const h5part_int64_t *x_data, const h5part_int64_t *y_data, const h5part_int64_t *z_data)
h5part_int64_t H5Block3dWriteScalarFieldFloat32 (H5PartFile *f, const char *name, const h5part_float32_t *data)
h5part_int64_t H5Block3dWriteScalarFieldFloat64 (H5PartFile *f, const char *name, const h5part_float64_t *data)
h5part_int64_t H5Block3dWriteScalarFieldInt32 (H5PartFile *f, const char *name, const h5part_int32_t *data)
h5part_int64_t H5Block3dWriteScalarFieldInt64 (H5PartFile *f, const char *name, const h5part_int64_t *data)

Function Documentation

h5part_int64_t H5Block3dRead3dVectorFieldFloat32 ( H5PartFile *  f,
const char *  name,
h5part_float32_t *  x_data,
h5part_float32_t *  y_data,
h5part_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:
H5PART_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
h5part_int64_t H5Block3dRead3dVectorFieldFloat64 ( H5PartFile *  f,
const char *  name,
h5part_float64_t *  x_data,
h5part_float64_t *  y_data,
h5part_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:
H5PART_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
h5part_int64_t H5Block3dRead3dVectorFieldInt32 ( H5PartFile *  f,
const char *  name,
h5part_int32_t *  x_data,
h5part_int32_t *  y_data,
h5part_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:
H5PART_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
h5part_int64_t H5Block3dRead3dVectorFieldInt64 ( H5PartFile *  f,
const char *  name,
h5part_int64_t *  x_data,
h5part_int64_t *  y_data,
h5part_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:
H5PART_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
h5part_int64_t H5Block3dReadScalarFieldFloat32 ( H5PartFile *  f,
const char *  name,
h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5part_int64_t H5Block3dReadScalarFieldFloat64 ( H5PartFile *  f,
const char *  name,
h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5part_int64_t H5Block3dReadScalarFieldInt32 ( H5PartFile *  f,
const char *  name,
h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5part_int64_t H5Block3dReadScalarFieldInt64 ( H5PartFile *  f,
const char *  name,
h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to read
dataOUT: ptr to read buffer
h5part_int64_t H5Block3dWrite3dVectorFieldFloat32 ( H5PartFile *  f,
const char *  name,
const h5part_float32_t *  x_data,
const h5part_float32_t *  y_data,
const h5part_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:
H5PART_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
h5part_int64_t H5Block3dWrite3dVectorFieldFloat64 ( H5PartFile *  f,
const char *  name,
const h5part_float64_t *  x_data,
const h5part_float64_t *  y_data,
const h5part_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:
H5PART_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
h5part_int64_t H5Block3dWrite3dVectorFieldInt32 ( H5PartFile *  f,
const char *  name,
const h5part_int32_t *  x_data,
const h5part_int32_t *  y_data,
const h5part_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:
H5PART_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
h5part_int64_t H5Block3dWrite3dVectorFieldInt64 ( H5PartFile *  f,
const char *  name,
const h5part_int64_t *  x_data,
const h5part_int64_t *  y_data,
const h5part_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:
H5PART_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
h5part_int64_t H5Block3dWriteScalarFieldFloat32 ( H5PartFile *  f,
const char *  name,
const h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5part_int64_t H5Block3dWriteScalarFieldFloat64 ( H5PartFile *  f,
const char *  name,
const h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5part_int64_t H5Block3dWriteScalarFieldInt32 ( H5PartFile *  f,
const char *  name,
const h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write
h5part_int64_t H5Block3dWriteScalarFieldInt64 ( H5PartFile *  f,
const char *  name,
const h5part_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:
H5PART_SUCCESS or error code
Parameters:
fIN: file handle
nameIN: name of dataset to write
dataIN: scalar data to write