isroot(3)

NAME
isroot - Determines whether task is root task

SYNOPSIS
#include "lpj.h"
Bool isroot(Config config);

DESCRIPTION
Function determines whether MPI task is root task. Returns always TRUE in the sequential version. Is implemented as a macro. The argument of isroot is:

config
    LPJmL configuration data. Must be initialized by initmpiconfig() or initconfig().

RETURN VALUE
Returns TRUE if MPI task is root task, FALSE otherwise.

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
initconfig(3)