Repository navigation
New model GSoC2026 #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
835f506
new cylindrical tumor shape
salva24 ca45f49
fix: resolve bug preventing tumor cell type export from TOML function…
salva24 acff8dc
New Dirichlet boundaty contitions with modifiable z boundaries to mim…
salva24 2eac904
Delete unecessary parameters for the Dirichlet boundary condition
salva24 d7bf4c1
delete oxygen saturation, redundant hyperparameter
salva24 bd52981
oxygen diffusion coefficient
salva24 315a5ac
OutputInformationBasedOnRadiusCSV for analysing the tumor for differe…
salva24 f88dbf8
Fix in OutputInformationBasedOnRadiusCSV, stoere the time just once. …
salva24 8737900
atribute analysis
salva24 90edaac
change units from mmHg to mol/m3
salva24 a5eda84
solve bug of exygen increasing with the number of newborn cells
salva24 3bbac51
oxygen reference level and consumption rate optimization
salva24 3a2e1de
tunning oxygen_reference_level and cancer cell oxygen consumption
salva24 3d09674
oxygen diffusion ready
salva24 565e587
new duplication rate values and new hyperparameter for a basal probab…
salva24 a359901
new parameters for oxygen diffusion
salva24 1f5ab3e
fitting parameter basal necrosis death rate
salva24 3aacf25
fit basal_necrosis_probability_cancer_cells
salva24 3c301cb
new parameter for basal death rate in 2800 cells
salva24 c9f0145
new aging factor for modelling cells natural death and trial to fit b…
salva24 8c5e88f
fit of basal necrosis rate and aging facotr 28000 cells no cup
salva24 458016d
new files for experimentation with different seeds. model fit with no…
salva24 29a8626
new parameters for model replication under hypoxia
salva24 0e343c9
new physical barriers to avoid cell movement outside the cilinder bou…
salva24 e6b4bb5
new volumes for tumor cells and cart cells
salva24 b0457f7
new glucose gradient, and fit of associated diffusion and consumption…
salva24 c8d3394
add necrosis probability dempendent on glucose levels
salva24 6454e72
glucose affecting duplication rate, old version
salva24 9599467
new basal_necrosis_probability_cancer_cells
salva24 5cf074e
new maximum_necrosis_lack_of_glucose_rate after glucose fit
salva24 6898286
new distinctions on the tumoral cell death procedures: apoptosis vs n…
salva24 0e18917
add parameter to avoid glucose diffusion on the z axis to model a 2D …
salva24 4bc6a20
max radius allowed for a cylindrical or spherical bounded space
salva24 76434f0
Merge branch 'compiler-research:master' into add_glucose_gradient
salva24 5ddf9c3
new parameters for treatment under normoxia
salva24 0a64027
Merge branch 'add_glucose_gradient' of https://github.com/salva24/CAR…
salva24 c3ae9b5
new configuration maximun necrosis rate for model without treatment a…
salva24 f890078
parameter for cart adhesion rate?
salva24 3086811
new parameter 09_09_2026 for car cells pushing from the edges
salva24 f9bf20f
cart cytotoxicity and glucose consumption
salva24 75ce721
Merge pull request #5 from salva24/add_glucose_gradient
salva24 9d2dc16
cart cell oxygen consumption and necrosis limit with treatment
salva24 eb36cf7
cart cell oxygen consumption and necrosis limit with treatment on jso…
salva24 2f67623
correct the oxygen consumption for 560000 cart cells
salva24 f25b8f0
parameters hypoxia treatment
salva24 c4d5efb
Merge pull request #6 from salva24/add_glucose_gradient
salva24 325e1f6
cleaning the code and deleting draft files
salva24 f8645cc
clang format and clang tidy
salva24 6bf8360
add analysis on the cause of cancer cell death
salva24 7abf77c
clean all python scripts
salva24 0d27b51
updated readme file with new model schema and the added python script…
salva24 9f5ff44
updated readme file with new parameters
salva24 cc6858e
remove axuliar python scripts
salva24 56f5000
remove final from cart cell class
salva24 7bc3f43
new parameters to test for proliferation dependent on oxygen levels
salva24 0d717ca
fix missleading comment on voxel size for mechanics
salva24 f413841
fix bugs and feedback from the PR
salva24 45a003e
avoid magic numbers warning
salva24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,18 @@ | ||
| [visualization] | ||
| export = true | ||
| interval = 7200 | ||
| interval = 1200 | ||
|
|
||
| [[visualize_agent]] | ||
| name = "TumorCell" | ||
| additional_data_members = [ | ||
| {name = "diameter_", function = "diameter_"}, | ||
| {name = "volume_", function = "volume_"}, | ||
| {name = "cell_type", function = "GetTypeAsInt"} | ||
| "diameter_", | ||
| "volume_", | ||
| "cell_type_" | ||
| ] | ||
|
|
||
| [[visualize_agent]] | ||
| name = "CarTCell" | ||
| additional_data_members = ["diameter_","volume_"] | ||
|
|
||
| [[visualize_diffusion]] | ||
| name = "oxygen" | ||
|
|
||
| [[visualize_diffusion]] | ||
| name = "immunostimulatory_factor" | ||
| name = "oxygen" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,4 +7,4 @@ | |
| "0": 3957, | ||
| "8": 3957 | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| { | ||
| "seed": 42, | ||
| "bound_space_toplogy": "closed", | ||
| "num_radius_intervals": 100, | ||
| "lateral_oxygen_production_min_z": -300.0, | ||
| "lateral_oxygen_production_max_z": 300.0, | ||
| "min_initial_z_substances": -300.0, | ||
| "max_initial_z_substances": 300.0, | ||
| "diffuse_oxygen_on_z_axis": false, | ||
|
lmluque marked this conversation as resolved.
Resolved
|
||
| "diffuse_glucose_on_z_axis": false, | ||
| "output_performance_statistics": false, | ||
| "total_minutes_to_simulate": 4320, | ||
| "output_csv_interval": 600, | ||
| "bounded_space_length": 6500.0, | ||
| "tumor_shape": "cylinder", | ||
| "output_information_dependent_on_radius": true, | ||
| "cylindrical_tumor_radius": 3000.0, | ||
| "max_radius_analysis_csv_dependent_on_radius": 3000.0, | ||
| "cylindrical_tumor_height": 100.0, | ||
| "initial_number_of_cylindrical_tumor_cells": 28000, | ||
| "default_volume_new_tumor_cell": 1468.0, | ||
| "std_volume_new_tumor_cell": 166, | ||
| "min_volume_new_tumor_cell": 1136.0, | ||
| "max_volume_new_tumor_cell": 1800.0, | ||
| "default_volume_new_cart_cell": 269.0, | ||
| "std_volume_new_cart_cell": 33.625, | ||
| "min_volume_new_cart_cell": 201.75, | ||
| "max_volume_new_cart_cell": 336.25, | ||
| "oncoprotein_mean": 1.0, | ||
| "oncoprotein_standard_deviation": 0.0, | ||
| "initial_oxygen_level": 0.0, | ||
|
lmluque marked this conversation as resolved.
Resolved
|
||
| "oxygen_reference_level": 165.0, | ||
| "default_oxygen_consumption_tumor_cell": 77.47, | ||
| "default_glucose_consumption_tumor_cell": 0.045, | ||
| "diffusion_coefficient_oxygen": 180000.0, | ||
| "decay_constant_oxygen": 0.006666666666666667, | ||
| "time_apoptosis": 6000.0, | ||
| "time_lysis": 6000.0, | ||
| "average_time_transformation_random_rate": 72, | ||
| "standard_deviation_transformation_random_rate": 15.0, | ||
| "decay_constant_glucose": 0.0003333333333333333, | ||
| "oxygen_saturation_for_proliferation": 20, | ||
| "oxygen_limit_for_proliferation": 10, | ||
| "oxygen_limit_for_necrosis_maximum": 0.0, | ||
| "oxygen_limit_for_necrosis": 7.1, | ||
| "maximum_necrosis_lack_of_oxygen_rate": 7.2214e-05, | ||
| "reduction_consumption_dead_cells": 0.0, | ||
| "basal_death_probability_cancer_cells": 5e-06, | ||
| "bounded_space_min_allowed_z": -50.0, | ||
| "bounded_space_max_allowed_z": 50.0, | ||
| "bounded_space_max_allowed_radius": 3250.0, | ||
| "minimum_distance_from_tumor_to_spawn_cart": 0.0, | ||
| "add_immunostimulatory_factor": true, | ||
| "add_glucose": true, | ||
| "diffusion_coefficient_glucose": 7800, | ||
| "initial_glucose_level": 24.98, | ||
| "treatment": { | ||
| "0": 560000 | ||
| }, | ||
| "default_oxygen_consumption_cart": 16, | ||
| "default_glucose_consumption_cart": 0.007, | ||
| "adhesion_rate_cart": 8.5e-06, | ||
| "glucose_saturation_for_tumor_cell_growth": 24.98, | ||
| "glucose_limit_for_tumor_cell_growth": 0, | ||
| "glucose_limit_for_death": 5, | ||
| "glucose_limit_for_death_maximum": 0, | ||
| "maximum_death_lack_of_glucose_rate": 0.000175, | ||
| "minimum_tumor_cell_target_volume_fraction_for_division": 0.9, | ||
| "avg_migration_bias_cart": 0, | ||
| "std_migration_bias_cart": 0.135, | ||
| "persistence_time_cart": 0, | ||
| "diffusion_coefficient_immunostimulatory_factor": 100000, | ||
| "decay_constant_immunostimulatory_factor": 1e-05 | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "seed": 42, | ||
| "output_performance_statistics": true, | ||
| "total_minutes_to_simulate": 43200, | ||
| "initial_tumor_radius": 150.0, | ||
| "treatment": { | ||
| "0": 3957, | ||
| "8": 3957 | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we ask claude to draw this with mermaid for github?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried a few attempts but honestly I do not like the results as much as the diagram I've done myself. Let's discuss it tomorrow

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is ugly but I believe it can replay 1:1 yours…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!