facade_factory

Factory class for generating MD engine facades

class MDMC.MD.engine_facades.facade_factory.MDEngineFacadeFactory[source]

Provides a factory for creating facades to MDEngine. Any facade within the engine_facades folder can be created with a str of the class name, as long as it is a subclass of MDEngine.

static create_facade(module_name: str) MDEngine[source]
Parameters:

module_name (str) – A module name in engine_facades. Aliases to these module names are also valid.

Returns:

The specified MDEngine, as determined by the module_name

Return type:

MDEngine

static import_from_alias(alias: str) ModuleType[source]

Converts an alias into a module name