|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
A mixin to add a parameter set field to a model component class. More...
Public Member Functions | |
| def | __init__ (self, *args, **kwargs) |
| def | opts (self) |
| Generator that yields field name - value pairs for the command line. More... | |
Static Public Attributes | |
| PARAMETERS = None | |
| PARAMSET_FIELD = None | |
A mixin to add a parameter set field to a model component class.
Two class attributes must be set in subclasses - PARAMETERS, the list of allowed parameters, and PARAMSET_FIELD, the name of the field to which the parameter set's values should be assigned.
| def carputils.model.general.ParameterSetMixin.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Reimplemented in carputils.model.general.AbstractIonicModel, and carputils.model.general.ModelMixin.
| def carputils.model.general.ParameterSetMixin.opts | ( | self | ) |
Generator that yields field name - value pairs for the command line.
Reimplemented in carputils.model.general.AbstractIonicModel, and carputils.model.general.ModelMixin.
|
static |
|
static |