Functions

Setting up the Data Model
[H5Part F90 API]

Functions

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

Function Documentation

INTEGER*8 h5pt_setnpoints ( INTEGER*8,intent(in)  filehandle,
INTEGER*8,intent(in)  npoints 
)

See H5PartSetNumParticles.

Returns:
0 on success or error code
Parameters:
filehandlethe handle returned during file open
npointsthe number of particles on *this* processor
INTEGER*8 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:
filehandlethe handle returned during file open
npointsthe number of particles on *this* processor
stridethe stride value (e.g. the number of fields in the particle data array)
INTEGER*8 h5pt_getndatasets ( INTEGER*8,intent(in)  filehandle )

See H5PartGetNumDatasets.

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

See H5PartGetNumParticles.

Returns:
the number of particles or error code
Parameters:
filehandlethe handle returned during file open
INTEGER*8 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:
filehandlethe handle returned during file open
indexindex of dataset to query (starting from 0)
namebuffer to read the dataset name into
INTEGER*8 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:
filehandlethe handle returned during file open
startoffset of the first particle in the view
endoffset of the last particle in the view (inclusive)
INTEGER*8 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:
filehandlethe handle returned during file open
indiceslist of indicies to select in this view
nelemnumber of particles in the list
INTEGER*8 h5pt_resetview ( INTEGER*8,intent(in)  filehandle )

See H5PartResetView.

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

See H5PartResetView.

Returns:
1 if true, 0 if false, or error code
Parameters:
filehandlethe handle returned during file open
INTEGER*8 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:
filehandlethe handle returned during file open
startbuffer to store the offset of the first particle in the view
endbuffer to store the offset of the last particle in the view (inclusive)