SettingsAttr

class openpnm.utils.SettingsAttr(*args)[source]

A custom data class that hold settings for objects.

The main function of this custom class is to enforce the datatype of values that are assigned to ensure they remain consistent. For instance if obj.foo = "bar", then obj.foo = 456 will fail.