NAME
          fwriterestart - write restart file

     SYNOPSIS
          #include "lpj.h"

          Bool fwriterestart(const Cell grid[],
                             int npft,int ncft,
                             int year,
                             const char *filename,
                             const Config *config
                            );


     DESCRIPTION
          Function writes restart file LPJmL.  The arguments of
          fwriterestart are:

          grid Cell grid array allocated and initialized by newgrid().

          npft Number of natural plant functional types.

          ncft Number of crop plant functional types.

          year year restart file is written.

          filename
               filename of restart file.

          config
               LPJmL configuration data. Must be read by readconfig().

     RETURN VALUE
          Upon successful completion FALSE is returned and TRUE on
          error.


     AUTHORS
          For authors and contributors see AUTHORS file


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


     SEE ALSO
          readconfig(3), newgrid(3), iterate(3)





Man(1) output converted with man2html