WRApplication
External kratos "application" for multiscale time integration.
registry_utils.py File Reference

Namespaces

 python_scripts.registry_utils
 

Functions

def RegisterClass (type cls, str parent_path="", typing.Optional[str] class_name=None)
 Create a new item in the global registry for the provided class. More...
 
None RecursivelyRegisterClass (type cls, str parent_path)
 Add the provided class and its derived classes recursively to the RuntimeRegistry. More...
 
"dict[str,typing.Any]" GetRegistryEntry (str registered_path)
 
typing.Any GetRegisteredClass (str registered_path)
 
typing.Any RegisteredClassFactory (str registered_path, *args, **kwargs)
 Instantiate a class registered in RuntimeRegistry. More...
 
bool IsRegisteredPath (str path)
 Check whether the provided path exists in RuntimeRegistry. More...
 
None ImportAndRegister (str import_path, str registry_path)
 Import a class from a module and add it to RuntimeRegistry. More...