NAME
          pnet_outindex - Get index for output buffer

     SYNOPSIS
          #include <mpi.h>
          #include "pnet.h"

          int pnet_outindex(const Pnet *pnet,int index);

     DESCRIPTION
          Function returns index of node that has to be stored in the
          output buffer. Function is implemented as a macro.  The
          arguments of pnet_outindex are:

          pnet Pointer to initialized Pnet struct

          index
               Index in output buffer. Must be
               0<=index<pnet_outlen(pnet).

     RETURN VALUE
          Upon successful completion number of connections is
          returned.

     AUTHORS
          For authors and contributors see AUTHORS file


     COPYRIGHT
          (C) Potsdam Institute for Climate Impact Research (PIK), see
          COPYRIGHT file


     SEE ALSO
          pnet_init(3), pnet_free(3), pnet_setup(3), pnet_hi(3),
          pnet_nodes(3)

















Man(1) output converted with man2html