| Lattice Microbes 2.5
    This is for whole cell modeling | 
| Public Member Functions | |
| __init__ (self, lmFile, exact=False) | |
| setBoundary (self, species, concs, boundary) | |
| hookSimulation (self, t, lattice) | |
| Public Attributes | |
| exact = exact | |
| rdme = lmFile | |
| list | dists = [] | 
| distTable = None | |
| bMask = np.zeros_like(self.rdme.siteLattice) | |
| bLattice = np.zeros_like(self.rdme.siteLattice) | |
Solver with fixed concentration boundary conditions The simulation hook runs a cythonized function which destructively sets the specified boundaries to a prescribed concentration.
| jLM.Solvers.ConstBoundaryConc.__init__ | ( | self, | |
| lmFile, | |||
| exact = False ) | 
| jLM.Solvers.ConstBoundaryConc.hookSimulation | ( | self, | |
| t, | |||
| lattice ) | 
Replaces all particles on boundary according to B.C.s
| jLM.Solvers.ConstBoundaryConc.setBoundary | ( | self, | |
| species, | |||
| concs, | |||
| boundary ) | 
Specify boundary conditions
    Specify a boundary condition using a species (or list of species), a 
    concentration (or list of concentrations; in mol/L), and a specification 
    of the boundary in terms of a binary lattice. Subsequent calls will add 
    new boundary conditions.  When the boundary region given by a subsequent 
    call overlaps with a previously described region, the later call will 
    override the earlier conditions.
    Args:
        species (:py:class:`~jLM.Types.Species`):
            Species at boundary
        concs (float):
            Concentrations
        boundary (:py:class:`~numpy.ndarray`):
            Binary lattice describing the boundary
 
| jLM.Solvers.ConstBoundaryConc.bLattice = np.zeros_like(self.rdme.siteLattice) | 
| jLM.Solvers.ConstBoundaryConc.bMask = np.zeros_like(self.rdme.siteLattice) | 
| list jLM.Solvers.ConstBoundaryConc.dists = [] | 
| jLM.Solvers.ConstBoundaryConc.distTable = None | 
| jLM.Solvers.ConstBoundaryConc.exact = exact | 
| jLM.Solvers.ConstBoundaryConc.rdme = lmFile |