NAME
          pnet_dup - Duplicate network

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

          Pnet *pnet_dup(const Pnet *net);

     DESCRIPTION
          Function copies network stored in Pnet struct. Must be
          called before pnet_setup. The argument of pnet_dup is:

          pnet Pointer to Pnet struct  to be copied.

     RETURN VALUE
          Upon successful completion of pnet_dup a pointer to copied
          Pnet struct is returned.  Otherwise NULL 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_free(3), pnet_setup(3)























Man(1) output converted with man2html