initGadget.Rd
This function initialize a gadget simulation given a valid model directory and a input file.
The simulation will not be run yet, please see the runStep
and runYear
functions.
initGadget(modelDir, inputfile, mainfile = "main")
modelDir | Path to the gadget model |
---|---|
inputfile | The name of the model parameter input file |
mainfile | The name of the model main file. Default: "main" |