NAME
          readpopdens - Read population density data from file

     SYNOPSIS
          #include "lpj.h"

          Bool readpopdens(const Popdens popdens,
                           int year,
                           const Cell grid[],
                           const Config *config);


     DESCRIPTION
          Function reads population density data for specified year.
          The arguments of readpopdens are:

          popdens
               Pointer to population density data.  Must be
               initialized by initpopdens().

          year Sets year data is read.

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

          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
          initpopdens(3), getpopdens(3), freepopdens(3)









Man(1) output converted with man2html