Boundary Conditions for Cells ############################## Boundary conditions control what happens when a cell or chemical field attempts to cross the edge of the screen (simulation area). Related: * `Potts Algorithm: How It Works `_ * `Boundary Conditions for Diffusion `_ Periodic ============================ Much like classic arcade games, cells are allowed to "wrap around" and travel to the opposite side when they reach the edge of the screen. Specify `Boundary_x` (left & right edges), `Boundary_y` (top & bottom edges), and/or `Boundary_z` (front & back edges) as `Periodic` to enable this behavior. .. code-block:: xml Periodic Periodic 0 10000 5 1 2 Periodic boundary conditions are useful for large areas of tissue wherein cells near the edges need to have neighbors. In this example, each red cell has approximately 7 neighbors. This allows us to produce a Delta-Notch Pattern. .. image:: images/deltaNotchPattern.png :alt: A checkerboard pattern of colored cells NoFlux ============================ This is the default, and it makes the simulation a finite space. Cells cannot cross the boundaries or otherwise interact with opposite edges.