text: « Return to documentation listing
  MPI_Type_ub - Returns the upper bound of a datatype. This will differ
  from zero if the type was constructed using MPI_UB. The upper bound
  will take into account any alignment considerations. Use of this rou-
  tine is deprecated.
  #include <mpi.h>
  int MPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement)
  INCLUDE 'mpif.h'
  MPI_TYPE_UB(DATATYPE, DISPLACEMENT, IERROR)
  INTEGER DATATYPE, DISPLACEMENT, IERROR
  datatype Datatype (handle).
  displacement
  Displacement of upper bound from origin, in bytes (integer).
  IERROR Fortran only: Error status (integer).
  Note that use of this routine is deprecated as of MPI-2. Please use
  MPI_Type_get_extent instead.
  This deprecated routine is not available in C++.
  MPI_Type_ub returns the lower bound of a data type.
  The "pseudo-datatypes," MPI_LB and MPI_UB, can be used, respectively,
  to mark the upper bound (or the lower(0), disp(0)), ..., (type(n-1), disp(n-1))}
  then the lower bound of Typemap is defined to be
  (min(j) disp(j) if no entry has
  lb(Typemap) = ( basic type lb
  1.3.4 Nov 11, 2009 MPI_Type_ub(3)