Each instance of make_Lpar calls a function (usually create_Lpar_*) that creates an object Lpar. It is attached the xds object as pars$Lpar[[s]]. Each instance of create_Lpar_* should assign default parameter values. These will be over-written by Lopts

make_Lpar(Lname, pars, s, Lopts = list())

Arguments

Lname

the class name of the aquatic model

pars

an xds object

s

the species index

Lopts

a named list to configure Lpar

Value

an xds object

Note

This method assigns Lname to class(Lname) and dispatches on Lname.