| Lattice Microbes 2.5
    This is for whole cell modeling | 
Base class for lattice type objects. More...
#include <Lattice.h>
| Public Member Functions | |
| virtual site_t | getMaxSiteType () const=0 | 
| Get the maximum number of site types possible in the lattice. | |
| virtual particle_t | getMaxParticle () const=0 | 
| Get the maximum number of particle types possible in the lattice. | |
| virtual site_size_t | getMaxOccupancy () const=0 | 
| Get the maximum number of particles that can live in a site. | |
| Lattice (lattice_coord_t size, si_dist_t spacing) | |
| Create a Lattice object. | |
| Lattice (lattice_size_t xSize, lattice_size_t ySize, lattice_size_t zSize, si_dist_t spacing) | |
| Create a Lattice object. | |
| virtual | ~Lattice () | 
| Destroy the Lattice object. | |
| virtual lattice_coord_t | getSize () const | 
| Get size of the Lattice. | |
| virtual lattice_size_t | getXSize () const | 
| Get x dimension of the Lattice. | |
| virtual lattice_size_t | getYSize () const | 
| Get y dimension of the Lattice. | |
| virtual lattice_size_t | getZSize () const | 
| Get z dimension of the Lattice. | |
| virtual lattice_size_t | getNumberSites () const | 
| Get total number of sites in the Lattice. | |
| virtual si_dist_t | getSpacing () const | 
| Get spacing between lattice sites. | |
| virtual void | getNeighboringSites (lattice_size_t index, lattice_size_t *neighboringIndices)=0 | 
| Get the sites that are neighbor to the indicated site. | |
| virtual site_t | getSiteType (lattice_size_t x, lattice_size_t y, lattice_size_t z) const=0 | 
| Get the site type at the specified location. | |
| virtual site_t | getSiteType (lattice_size_t index) const=0 | 
| Get the site type at the specified location. | |
| virtual void | setSiteType (lattice_size_t x, lattice_size_t y, lattice_size_t z, site_t site)=0 | 
| Set the site type at the specified location. | |
| virtual void | setSiteType (lattice_size_t index, site_t site)=0 | 
| Set the site type at the specified location. | |
| std::vector< lattice_coord_t > | getNearbySites (lattice_size_t xc, lattice_size_t yc, lattice_size_t zc, uint minDistance, uint maxDistance) | 
| Get a list of sites near the specified site within a certain distance. | |
| virtual site_size_t | getOccupancy (lattice_size_t x, lattice_size_t y, lattice_size_t z) const=0 | 
| Get the number of particles in the specified lattice site. | |
| virtual site_size_t | getOccupancy (lattice_size_t index) const=0 | 
| Get the number of particles in the specified lattice site. | |
| virtual particle_t | getParticle (lattice_size_t x, lattice_size_t y, lattice_size_t z, site_size_t particleIndex) const=0 | 
| Get the particle at the specified site with at the specified number in the particle list. | |
| virtual particle_t | getParticle (lattice_size_t index, site_size_t particleIndex) const=0 | 
| Get the particle at the specified site with at the specified number in the particle list. | |
| virtual void | addParticle (lattice_size_t x, lattice_size_t y, lattice_size_t z, particle_t particle)=0 | 
| Add a particle to the specified site. | |
| virtual void | addParticle (lattice_size_t index, particle_t particle)=0 | 
| Add a particle to the specified site. | |
| virtual void | removeParticles (lattice_size_t x, lattice_size_t y, lattice_size_t z)=0 | 
| Remove a particle to the specified site. | |
| virtual void | removeParticles (lattice_size_t index)=0 | 
| Remove a particle to the specified site. | |
| virtual void | removeAllParticles () | 
| Empty all particles from the specified site. | |
| virtual std::map< particle_t, uint > | getParticleCounts ()=0 | 
| Get the number of each particle type in the lattice. | |
| virtual std::vector< particle_loc_t > | findParticles (particle_t minParticleType, particle_t maxParticleType)=0 | 
| Get the number of the specified particles types in the lattice. | |
| virtual void | print () const | 
| Print the lattice to the console. | |
| virtual void | setFromRowMajorByteData (void *buffer, size_t bufferSize)=0 | 
| virtual void | setSitesFromRowMajorByteData (void *buffer, size_t bufferSize)=0 | 
| virtual size_t | getLatticeMemorySize () const=0 | 
| Static Public Member Functions | |
| static void | rowMajorByteSerialize (void *destBuffer, void *lattice, size_t bufferSize) | 
| static void | rowMajorIntSerialize (void *destBuffer, void *lattice, size_t bufferSize) | 
| static void | rowMajorByteSerializeSites (void *destBuffer, void *lattice, size_t bufferSize) | 
| Protected Attributes | |
| lattice_coord_t | size | 
| lattice_size_t | numberSites | 
| si_dist_t | spacing | 
Base class for lattice type objects.
| lm::rdme::Lattice::Lattice | ( | lattice_coord_t | size, | 
| si_dist_t | spacing ) | 
Create a Lattice object.
| size | Size of the lattice as (x,y,z) | 
| spacing | Physical spacing between lattice sites | 
| lm::rdme::Lattice::Lattice | ( | lattice_size_t | xSize, | 
| lattice_size_t | ySize, | ||
| lattice_size_t | zSize, | ||
| si_dist_t | spacing ) | 
Create a Lattice object.
| xSize | Number of sites in x | 
| ySize | Number of sites in y | 
| zSize | Number of sites in z | 
| spacing | Physical spacing between lattice sites | 
| 
 | virtual | 
Destroy the Lattice object.
| 
 | pure virtual | 
Add a particle to the specified site.
| 
 | pure virtual | 
Add a particle to the specified site.
| 
 | pure virtual | 
Get the number of the specified particles types in the lattice.
| 
 | pure virtual | 
| 
 | pure virtual | 
Get the maximum number of particles that can live in a site.
| 
 | pure virtual | 
Get the maximum number of particle types possible in the lattice.
| 
 | pure virtual | 
Get the maximum number of site types possible in the lattice.
| std::vector< lattice_coord_t > lm::rdme::Lattice::getNearbySites | ( | lattice_size_t | xc, | 
| lattice_size_t | yc, | ||
| lattice_size_t | zc, | ||
| uint | minDistance, | ||
| uint | maxDistance ) | 
Get a list of sites near the specified site within a certain distance.
| xc | X location of the center site | 
| yc | Y location of the center site | 
| zc | Z location of the center site | 
| minDistance | Minimum distance for halo of sites | 
| maxDistance | Maximum distance for halo of sites | 
| 
 | pure virtual | 
Get the sites that are neighbor to the indicated site.
| index | Index of the site for which to get neighbors | 
| neighboringIndicies | An array to hold the indicies of the neighbor sites | 
| 
 | virtual | 
Get total number of sites in the Lattice.
| 
 | pure virtual | 
Get the number of particles in the specified lattice site.
| 
 | pure virtual | 
Get the number of particles in the specified lattice site.
| 
 | pure virtual | 
Get the particle at the specified site with at the specified number in the particle list.
| 
 | pure virtual | 
Get the particle at the specified site with at the specified number in the particle list.
| 
 | pure virtual | 
Get the number of each particle type in the lattice.
Particle searching methods.
| 
 | pure virtual | 
Get the site type at the specified location.
| 
 | pure virtual | 
Get the site type at the specified location.
| 
 | virtual | 
Get size of the Lattice.
| 
 | virtual | 
Get spacing between lattice sites.
| 
 | virtual | 
Get x dimension of the Lattice.
| 
 | virtual | 
Get y dimension of the Lattice.
| 
 | virtual | 
Get z dimension of the Lattice.
| 
 | virtual | 
Print the lattice to the console.
| 
 | virtual | 
Empty all particles from the specified site.
| 
 | pure virtual | 
Remove a particle to the specified site.
| 
 | pure virtual | 
Remove a particle to the specified site.
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | pure virtual | 
| 
 | pure virtual | 
| 
 | pure virtual | 
Set the site type at the specified location.
| 
 | pure virtual | 
Set the site type at the specified location.
| 
 | protected | 
| 
 | protected | 
| 
 | protected |