Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
jLM.Solvers Namespace Reference

Classes

class  ConstBoundaryConc

Functions

 makeSolver (rdmeSolver, customSolver)

Detailed Description

Generic RDME solvers

Function Documentation

◆ makeSolver()

jLM.Solvers.makeSolver ( rdmeSolver,
customSolver )
Create custom solver

Note:
    The user defined class should define a 
    `hookSimulation(self, t, lattice)` method where `t` is the current 
    simulation time and `lattice` is the current state of the 
    :py:class:`lm.CudaByteLattice`. 

Warning:
    If `__init__` is overridden, `super().__init__` must be called first.

Args:
    rdmeSolver (:py:class:`lm.RDMESolver`): 
        Base solver class
    customSolver (class):
        User defined solver class

Returns:
    class:
        Composed class