NAME
          pnet_reverse -  Reverse direction of all connections

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

          int pnet_reverse(Pnet *pnet);

     DESCRIPTION
          Function reverses direction of all connections.

          Connection have to be added before by calls of
          pnet_addconnect. Function must be called before pnet_setup.
          The argument of pnet_reverse is:

          pnet Pointer to initialized Pnet struct

     RETURN VALUE
          Upon successful completion PNET_OK is returned.

     ERRORS
          PNET_ALLOC_ERR
               Cannot allocate memory.


     AUTHORS
          For authors and contributors see AUTHORS file


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


     SEE ALSO
          pnet_exchg(3), pnet_init(3), pnet_addconnect(3),
          pnet_setup(3), pnet_free(3),  pnet_lo(3), pnet_hi(3),
          pnet_nodes(3)














Man(1) output converted with man2html