ModelsMixin2#
- class ModelsMixin2(*args, **kwargs)[source]#
This class is added to
Network
andPhase
objects under themodels
attribute. It provides the functionality for storing and running pore-scale models.Methods
add_model
(propname, model[, domain, regen_mode])Add a pore-scale model to the object, along with the desired arguments
add_model_collection
(models[, domain, ...])Add a
collection
of several models at onceregenerate_models
([propnames, exclude])Runs all the models stored in the object's
models
attributerun_model
(propname[, domain])Runs the requested model and places the result into the correct locations