NAME
          initinput - initialize input data

     SYNOPSIS
          #include "lpj.h"

          Bool initinput(Input *input,const Cell grid[],int ncft,const Config *config);


     DESCRIPTION
          Function initializes input data and opens related files
          specified in the LPJmL configuration.  The arguments of
          initinput are:

          input
               Pointer to input to be initialized.

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

          ncft Number of crop plant functional types.

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

     RETURN VALUE
          Upon successful completion FALSE is returned  and TRUE in
          case of failure.


     AUTHORS
          For authors and contributors see AUTHORS file


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


     SEE ALSO
          freeinput(3), initclimate(3), initlanduse(3),
          initwateruse(3), initpopdens(3), freeclimate(3),
          readconfig(3), iterate(3)










Man(1) output converted with man2html