|
CellModules
|
Represents a cell in the diffusion grid. More...
#include <DiffusionGrid.hpp>
Public Member Functions | |
| GridCell ()=default | |
| Default constructor. More... | |
| GridCell (std::vector< Molecule > m) | |
| Constructor with existing molecules. More... | |
Public Attributes | |
| std::vector< double > | prevQuantities |
| std::vector< double > | quantities |
| std::vector< double > | consumptions |
Represents a cell in the diffusion grid.
Definition at line 41 of file DiffusionGrid.hpp.
|
inlinedefault |
Default constructor.
|
inlineexplicit |
Constructor with existing molecules.
| m | Vector of existing molecules in the simulation. |
Definition at line 55 of file DiffusionGrid.hpp.
| std::vector<double> Diffusion2D::GridCell::consumptions |
Local consumptions of each molecule
Definition at line 44 of file DiffusionGrid.hpp.
| std::vector<double> Diffusion2D::GridCell::prevQuantities |
Previous quantities of each molecule
Definition at line 42 of file DiffusionGrid.hpp.
| std::vector<double> Diffusion2D::GridCell::quantities |
Current quantities of each molecule
Definition at line 43 of file DiffusionGrid.hpp.