Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
pySTDLM.Cells.BoxCell Class Reference
Inheritance diagram for pySTDLM.Cells.BoxCell:
[legend]
Collaboration diagram for pySTDLM.Cells.BoxCell:
[legend]

Public Member Functions

 __init__ (self, p1=3 *[0.], p2=3 *[0.])
 internalModelCell (self, attr)
 computeVolume (self)
 internalAddToSim (self, sim)
 internalTranslateCell (self, point)
Public Member Functions inherited from pySTDLM.Cells.CellShape
 __init__ (self)
 getVolume (self)
 boundingBox (self)
 addToSimulation (self, sim)
 translateCell (self, point)
 createModelCell (self, attr)
 setRegions (self, membrane, cytoplasm)

Public Attributes

int p1 = p1
list p2 = p2
 width = p2[0]-p1[0]
 height = p2[1]-p1[1]
 depth = p2[2]-p1[2]
Public Attributes inherited from pySTDLM.Cells.CellShape
str name = "Unknown"
float volume = -1.0
int mins = 3*[0.]
int maxs = 3*[0.]
float membraneThickness = 0.0
str memtype = "membrane"
str cyttype = "cytoplasm"

Detailed Description

A representation for a spherical cell. This cell requires an attribute dictionary that includes "width", "height", "depth" and "membraneThickness"

Constructor & Destructor Documentation

◆ __init__()

pySTDLM.Cells.BoxCell.__init__ ( self,
p1 = 3*[0.],
p2 = 3*[0.] )

Member Function Documentation

◆ computeVolume()

pySTDLM.Cells.BoxCell.computeVolume ( self)
Here is the caller graph for this function:

◆ internalAddToSim()

pySTDLM.Cells.BoxCell.internalAddToSim ( self,
sim )
Here is the caller graph for this function:

◆ internalModelCell()

pySTDLM.Cells.BoxCell.internalModelCell ( self,
attr )
Here is the caller graph for this function:

◆ internalTranslateCell()

pySTDLM.Cells.BoxCell.internalTranslateCell ( self,
point )
Here is the caller graph for this function:

Member Data Documentation

◆ depth

pySTDLM.Cells.BoxCell.depth = p2[2]-p1[2]

◆ height

pySTDLM.Cells.BoxCell.height = p2[1]-p1[1]

◆ p1

pySTDLM.Cells.BoxCell.p1 = p1

◆ p2

pySTDLM.Cells.BoxCell.p2 = p2

◆ width

pySTDLM.Cells.BoxCell.width = p2[0]-p1[0]

The documentation for this class was generated from the following file:
  • /data2/LM_zls_github/Lattice-Microbes/src/pylm/pySTDLM/Cells.py