Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5S_GET_SELECT_ELEM_NPOINTS

Gets the number of element points in the current selection

Procedure:

H5S_GET_SELECT_ELEM_NPOINTS ( space_id )

Signature:

hssize_t H5Sget_select_elem_npoints ( hid_t space_id )

Fortran90 Interface: h5sget_select_elem_npoints_f
    
SUBROUTINE h5sget_select_elem_npoints_f(space_id, num_points, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier
  INTEGER, INTENT(OUT) :: num_points     ! Number of points in 
                                         ! the current elements selection
  INTEGER, INTENT(OUT) :: hdferr         ! Error code
END SUBROUTINE h5sget_select_elem_npoints_f
	

Parameters:

hid_t space_id     IN: Identifier of dataspace to query

Description:

H5S_GET_SELECT_ELEM_NPOINTS returns the number of element points in the current dataspace selection, so that the element points can be retrieved with H5S_GET_SELECT_ELEM_POINTLIST. (This is similar to the way that H5S_GET_SELECT_HYPER_NBLOCKS and H5S_GET_SELECT_HYPER_BLOCKLIST work with hyperslab selections.)

Coincidentally, H5S_GET_SELECT_NPOINTS and H5S_GET_SELECT_ELEM_NPOINTS will always return the same value when an element selection is queried, but H5S_GET_SELECT_ELEM_NPOINTS does not work with other selection types.

Returns:

Returns the number of element points in the current dataspace selection if successful. Otherwise returns a negative value.

Example:

Coming Soon!

History:

None

--- Last Modified: September 27, 2018 | 11:42 AM