H5Part  1.6.6
Functions
Setting up the Data Model
H5Part F90 API

Functions

INTEGER *8 function h5pt_getdatasetname (filehandle, index, name)
 See H5PartGetDatasetName.
INTEGER *8 function h5pt_getndatasets (filehandle)
 See H5PartGetNumDatasets.
INTEGER *8 function h5pt_getnpoints (filehandle)
 See H5PartGetNumParticles.
INTEGER *8 function h5pt_getnsteps (filehandle)
 See H5PartGetNumSteps.
INTEGER *8 function h5pt_getview (filehandle, start, end)
 See H5PartGetView.
INTEGER *8 function h5pt_hasview (filehandle)
 See H5PartResetView.
INTEGER *8 function h5pt_resetview (filehandle)
 See H5PartResetView.
INTEGER *8 function h5pt_setnpoints (filehandle, npoints)
 See H5PartSetNumParticles.
INTEGER *8 function h5pt_setnpoints_strided (filehandle, npoints, stride)
 See H5PartSetNumParticlesStrided.
INTEGER *8 function h5pt_setstep (filehandle, step)
 See H5PartSetStep.
INTEGER *8 function h5pt_setview (filehandle, start, end)
 See H5PartSetView.
INTEGER *8 function h5pt_setview_indices (filehandle, indices, nelem)
 See H5PartSetViewIndices.

Function Documentation

INTEGER*8 function h5pt_getdatasetname ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(in)  index,
CHARACTER(LEN=*), intent(out)  name 
)

See H5PartGetDatasetName.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]indexindex of dataset to query (starting from 0)
[out]namebuffer to read the dataset name into
INTEGER*8 function h5pt_getndatasets ( INTEGER*8, intent(in)  filehandle)

See H5PartGetNumDatasets.

Returns:
the number of datasets or error code
Parameters:
[in]filehandlethe handle returned during file open
INTEGER*8 function h5pt_getnpoints ( INTEGER*8, intent(in)  filehandle)

See H5PartGetNumParticles.

Returns:
the number of particles or error code
Parameters:
[in]filehandlethe handle returned during file open
INTEGER*8 function h5pt_getnsteps ( INTEGER*8, intent(in)  filehandle)

See H5PartGetNumSteps.

Returns:
the number of steps or error code
Parameters:
[in]filehandlethe handle returned during file open
INTEGER*8 function h5pt_getview ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(out)  start,
INTEGER*8, intent(out)  end 
)

See H5PartGetView.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[out]startbuffer to store the offset of the first particle in the view
[out]endbuffer to store the offset of the last particle in the view (inclusive)
INTEGER*8 function h5pt_hasview ( INTEGER*8, intent(in)  filehandle)

See H5PartResetView.

Returns:
1 if true, 0 if false, or error code
Parameters:
[in]filehandlethe handle returned during file open
INTEGER*8 function h5pt_resetview ( INTEGER*8, intent(in)  filehandle)

See H5PartResetView.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
INTEGER*8 function h5pt_setnpoints ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(in)  npoints 
)

See H5PartSetNumParticles.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]npointsthe number of particles on *this* processor
INTEGER*8 function h5pt_setnpoints_strided ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(in)  npoints,
INTEGER*8, intent(in)  stride 
)

See H5PartSetNumParticlesStrided.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]npointsthe number of particles on *this* processor
[in]stridethe stride value (e.g. the number of fields in the particle data array)
INTEGER*8 function h5pt_setstep ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(in)  step 
)

See H5PartSetStep.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]stepa timestep value >= 1
INTEGER*8 function h5pt_setview ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, intent(in)  start,
INTEGER*8, intent(in)  end 
)

See H5PartSetView.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]startoffset of the first particle in the view
[in]endoffset of the last particle in the view (inclusive)
INTEGER*8 function h5pt_setview_indices ( INTEGER*8, intent(in)  filehandle,
INTEGER*8, dimension(*), intent(in)  indices,
INTEGER*8, intent(in)  nelem 
)

See H5PartSetViewIndices.

Returns:
0 on success or error code
Parameters:
[in]filehandlethe handle returned during file open
[in]indiceslist of indicies to select in this view
[in]nelemnumber of particles in the list