Randy Heiland

Results 20 comments of Randy Heiland

Totally agree with your summary. I do think that your proper fix will probably need even more testing than you've already done, maybe. I only suggested this 1-line edit workaround...

First, I was the one who introduced the `reserve` hack, not Paul. My opinion is that we go with the proper fix of Daniel's. Yes, it's more code editing, but...

To obtain the coords of a cell, you can use `pC->position[0]` for X (and [1]=Y, [2]=Z) where pC is a pointer to a cell. Rf to various sample projects' custom.cpp...

Fixed the 2 files in question; there were no other occurrences. Will include fix in a PR.

I created a unit test of sorts which seems to do what I expect. If nothing else, we have a concrete test for reference. I will likely do a PR...

And I just created a custom_v2.cpp which is more similar to your example in that it only changes a single (center) voxel value of just one substrate (oxygen) and leaves...

To more closely mimic Daniel's original test, I committed a new config file with the glucose BCs=99: ``` 0 0 0 99 99 99 99 99 0 0 ``` Running...

I finally got back to this and *think* I've fixed the bug, taking an approach that Paul agreed with, whereby we assume DC activation is false everywhere (instead of true,...

I just pushed this same fix into my (rheiland) fork (dev branch) for 1.12.0 (https://github.com/rheiland/PhysiCell/tree/development) and will do a PR into the MathCancer dev branch after some more testing. Please...

Hmm, fair point. Just don't try to import that v1 version of the rules in the current version (2.37.*) of the Studio. I guess we should allow for importing v1...