end_all

openpnm.utils.misc.end_all(globs: Optional[Dict] = None)[source]

Finish defining externally accessible objects.

Call end_all(globals()) when you have finished defining objects in your module that you want to be accessible from outside the module. After this function has been run the __all__ module variable will be updated with the names of all objects that were created between the start_all and end_all funciton calls.

Parameters

globs (dict, optional) – Pass the globals dictionary to the function using globals().