py21cmfast.inputs.FlagOptions.update

FlagOptions.update(**kwargs)

Update the parameters of an existing class structure.

This should always be used instead of attempting to assign values to instance attributes. It consistently re-generates the underlying C memory space and sets some book-keeping variables.

Parameters:

kwargs – Any argument that may be passed to the class constructor.