CellModules
Diffusion::GridCell Struct Reference

Structure representing a cell in the diffusion grid. More...

#include <DiffusionGrid.hpp>

Public Member Functions

 GridCell ()=default
 Default constructor. More...
 
 GridCell (vector< Molecule > m)
 Constructor to initialize a grid cell with given molecules. More...
 

Public Attributes

vector< double > prevQuantities
 
vector< double > quantities
 
vector< double > consumptions
 

Detailed Description

Structure representing a cell in the diffusion grid.

Definition at line 50 of file DiffusionGrid.hpp.

Constructor & Destructor Documentation

◆ GridCell() [1/2]

Diffusion::GridCell::GridCell ( )
inlinedefault

Default constructor.

◆ GridCell() [2/2]

Diffusion::GridCell::GridCell ( vector< Molecule m)
inlineexplicit

Constructor to initialize a grid cell with given molecules.

Parameters
mExisting molecules in the simulation

Definition at line 64 of file DiffusionGrid.hpp.

Member Data Documentation

◆ consumptions

vector<double> Diffusion::GridCell::consumptions

Local consumptions of each molecule in µm³/(ng.s)

Definition at line 53 of file DiffusionGrid.hpp.

◆ prevQuantities

vector<double> Diffusion::GridCell::prevQuantities

Previous quantities of each molecule in mmHg

Definition at line 51 of file DiffusionGrid.hpp.

◆ quantities

vector<double> Diffusion::GridCell::quantities

Current quantities of each molecule in mmHg

Definition at line 52 of file DiffusionGrid.hpp.


The documentation for this struct was generated from the following file: