Package mpi

Class ShiftParms


  • public final class ShiftParms
    extends java.lang.Object
    Source and destination ranks for "shift" communication.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ShiftParms​(int rankSource, int rankDest)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getRankDest()
      Gets the destination rank.
      int getRankSource()
      Gets the source rank.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShiftParms

        protected ShiftParms​(int rankSource,
                             int rankDest)
    • Method Detail

      • getRankSource

        public int getRankSource()
        Gets the source rank.
        Returns:
        source rank
      • getRankDest

        public int getRankDest()
        Gets the destination rank.
        Returns:
        destination rank