clear#
- AdvectionDiffusion.clear(mode=None)#
Clears or deletes certain things from object. If no arguments are provided it defaults to the normal dict behavior.
- Parameters:
mode (str) –
Controls which things are to be deleted. Options are:
mode
Description
’props’
Deletes all pore and throat properties (i.e numerical data) in the object’s dictionary (except ‘pore.coords’ and ‘throat.conns’ if it is a network object).
’labels’
Deletes all labels (i.e. boolean data) in the object’s dictionary.
’models’
Delete are pore and throat properties that were produced by a pore-scale model.