ecell / ecell4_base

An integrated software environment for multi-algorithm, multi-timescale, multi-spatial-representation simulation of various cellular phenomena
https://ecell4.e-cell.org/
GNU General Public License v3.0
63 stars 23 forks source link

A reaction between a 3d-diffusing molecle and 3d structure has the wrong dimensionality #356

Closed kaizu closed 4 years ago

kaizu commented 5 years ago

In spatiocyte, a kinetic rate for a reaction between a 3d-diffusing molecule and 3d structure has dimensionality, 1/[time].

Although a dimension of the structure is THREE, reactions could only occur at the contact surface. Thus, the dimensionality of the rate must be [length]/[time].

Fix the corresponding dimensional factor in spatiocyte.

https://github.com/ecell/ecell4-base/blob/master/ecell4/spatiocyte/utils.cpp#L30-L37

kaizu commented 4 years ago

Moved to https://github.com/ecell/ecell4/issues/83