add update_density and update_parameter function#298
add update_density and update_parameter function#298elmbeech wants to merge 11 commits intoMathCancer:developmentfrom
Conversation
…xists. additionally, update_parameter functions were implemented and an update_variables argument with default setting false was added to the load_PhysiCell_config_file, parameters.read_from_pugixml, and setup_microenvironment_from_XML functions.
…through an error, if one tries to update a density or parameter that not already exists.
…through an error, if one tries to update a density or parameter that not already exists.
|
as discussed, update_density and update_parameter through an error, if one tries to update a density or parameter that not already exists. the rest is the same. |
|
@drbergman can you please give your ok to this change? |
|
Hi Paul (@MathCancer )!
|
|
I'd suggest making any new arguments to functions as optional, if possible. E.g., |
|
Thank you, @rheiland! |
…f exit(-1) to make try catch exception possible.
|
superseded by pull request: #344 |
pull request for the staled pull request #264, #250 and #232.
this pull request is compatible with physicell version 1.14.0 and keeps the changes to the existing code bases as small as possible.
default settings were chosen so that the current models not will break through these changes.
each case was manually tested, the code works as expected.
add_density and add_parameter functions:
update_density and update_parameter functions:
function calls arguments: