NAME
newgrid - Allocates LPJ grid cells
SYNOPSIS
#include "lpj.h"
Cell *newgrid(Config *config,const Standtype standtype[],
int nstand,int npft,int ncft);
DESCRIPTION
Function allocates grid cells and reads soil code, country
code and coordinates. If restart filename is set state of
grid cells is recovered from a restart file. The arguments
of newgrid are:
config
Pointer to LPJmL configuration data. Must be read by
readconfig().
standtype
Array of stand type definitions.
nstand
Number of stand types.
npft Number of natural plant functional types.
ncft Number of crop plant functional types.
RETURN VALUE
Upon successful completion pointer to allocated grid is
returned and NULL in case of failure.
AUTHORS
Werner von Bloh (Werner.von.Bloh@pik-potsdam.de), Sibyll
Schaphoff (Sibyll.Schaphoff@pik-potsdam.de), Stefanie Rost
(Jachner) (Stefanie.Rost@pik-potsdam.de), Marlies
Gumpenberger (Marlies.Gumpenberger@pik-potsdam.de), Tim
Beringer (Erbrecht) (Tim.Beringer@pik-potsdam.de), Christoph
Mueller (Christoph.Mueller@pik-potsdam.de) Jens Heinke
(Jens.Heinke@pik-potsdam.de), Hester Biemans
(Hester.Biemans@wur.nl), Kirsten Thonicke
(Kirsten.Thonicke@pik-potsdam.de), Ursula Heyder
(Ursula.Heyder@pik-potsdam.de),
SEE ALSO
readconfig(3), freegrid(3)
Man(1) output converted with
man2html