setup_vital: Set up a Vital Function for a Concrete Population

Description Usage Arguments Value

Description

A vital function may include migration objects, which for use we need to link to particular population (precomputing the migration matrix). *In addition*, every element of the population is added to the environment of the function, so that the function can depend on objects only visible in the population.

Usage

1
setup_vital(fun, pop, ...)

Arguments

fun

The vital function.

pop

The population object.

...

Other parameters passed to migration().

Value

A vital function, as before, but with any migration objects having a migration matrix.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.