Source code for simphony_mayavi.plugins.engine_wrappers.jyulb
from .abc_engine_factory import ABCEngineFactory
[docs]class JyulbFileIOEngineFactory(ABCEngineFactory):
def create(self):
from simphony.engine import jyulb_fileio_isothermal
return jyulb_fileio_isothermal.JYULBEngine()
[docs]class JyulbInternalEngineFactory(ABCEngineFactory):
def create(self):
from simphony.engine import jyulb_internal_isothermal
return jyulb_internal_isothermal.JYULBEngine()
ENGINE_REGISTRY = dict(jyulb_fileio_isothermal=JyulbFileIOEngineFactory(),
jyulb_internal_isothermal=JyulbInternalEngineFactory())