Adding comment to cell_instance_at_level.

This commit is contained in:
Patrick Shriwise 2021-07-30 10:42:11 -05:00
parent b2efde1033
commit b42a04cc76

View file

@ -74,6 +74,7 @@ int cell_instance_at_level(const Particle& p, int level) {
// determine the cell instance
Cell& c {*model::cells[p.coord(level).cell]};
// quick exit if this cell doesn't have distribcell instances
if (c.distribcell_index_ == C_NONE) return C_NONE;
int instance = 0;