generic#
Module providing generic functionality.
Classes:
|
Provides a meta class for the abstract singleton type. |
Provides a meta class for the singleton type. |
Functions:
Check if the application is running in notebook. |
|
|
Timing function decorator. |
- class ansys.cfx.core.utils.generic.AbstractSingletonMeta(name, bases, namespace, /, **kwargs)#
Bases:
ABCMeta,SingletonMetaProvides a meta class for the abstract singleton type.
- class ansys.cfx.core.utils.generic.SingletonMeta#
Bases:
typeProvides a meta class for the singleton type.
- ansys.cfx.core.utils.generic.in_notebook()#
Check if the application is running in notebook.
- ansys.cfx.core.utils.generic.timing(func)#
Timing function decorator.