Closed bmaranville closed 1 year ago
Refactor of Material class to a factory function, that outputs subclasses based on value of "fitby" argument, e.g.
m = Material("Pd", fitby="cell_volume") # returns CellVolumeMaterial class instance
Refactor of Material class to a factory function, that outputs subclasses based on value of "fitby" argument, e.g.