CellModules
Diffusion2D::GridCell Struct Reference

#include <DiffusionGrid.hpp>

Public Member Functions

 GridCell ()=default
 default constructor More...
 
 GridCell (vector< Molecule > m)
 constructor More...
 

Public Attributes

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

Detailed Description

Definition at line 40 of file DiffusionGrid.hpp.

Constructor & Destructor Documentation

◆ GridCell() [1/2]

Diffusion2D::GridCell::GridCell ( )
inlinedefault

default constructor

local consumptions of each molecule

◆ GridCell() [2/2]

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

constructor

Parameters
m: existing molecules in the simulation

Definition at line 54 of file DiffusionGrid.hpp.

Member Data Documentation

◆ consumptions

vector<double> Diffusion2D::GridCell::consumptions

current quantities of each molecule

Definition at line 43 of file DiffusionGrid.hpp.

◆ prevQuantities

vector<double> Diffusion2D::GridCell::prevQuantities

Definition at line 41 of file DiffusionGrid.hpp.

◆ quantities

vector<double> Diffusion2D::GridCell::quantities

previous quantities of each molecule

Definition at line 42 of file DiffusionGrid.hpp.


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