Skip to content

Commit 848e7e8

Browse files
committed
update sample projects
1 parent 2354b24 commit 848e7e8

36 files changed

Lines changed: 301 additions & 17 deletions

File tree

sample_projects/asymmetric_division/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<virtual_wall_at_domain_edge>true</virtual_wall_at_domain_edge>
5353
<disable_automated_spring_adhesions>false</disable_automated_spring_adhesions>
5454
<random_seed>0</random_seed>
55+
<mechanics_voxel_size>30</mechanics_voxel_size>
5556
</options>
5657

5758
<microenvironment_setup>

sample_projects/asymmetric_division/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ int main( int argc, char* argv[] )
118118
/* PhysiCell setup */
119119

120120
// set mechanics voxel size, and match the data structure to BioFVM
121-
double mechanics_voxel_size = 30;
121+
double mechanics_voxel_size = PhysiCell_settings.mechanics_voxel_size;
122+
std::cout << "Setting mechanics voxel size= " << mechanics_voxel_size << std::endl;
122123
Cell_Container* cell_container = create_cell_container_for_microenvironment( microenvironment, mechanics_voxel_size );
123124

124125
/* Users typically start modifying here. START USERMODS */

sample_projects/biorobots/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<virtual_wall_at_domain_edge>true</virtual_wall_at_domain_edge>
6262
<disable_automated_spring_adhesions>true</disable_automated_spring_adhesions>
6363
<random_seed>0</random_seed>
64+
<mechanics_voxel_size>30</mechanics_voxel_size>
6465
</options>
6566

6667
<microenvironment_setup>

sample_projects/biorobots/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ int main( int argc, char* argv[] )
118118
/* PhysiCell setup */
119119

120120
// set mechanics voxel size, and match the data structure to BioFVM
121-
double mechanics_voxel_size = 30;
121+
double mechanics_voxel_size = PhysiCell_settings.mechanics_voxel_size;
122+
std::cout << "Setting mechanics voxel size= " << mechanics_voxel_size << std::endl;
122123
Cell_Container* cell_container = create_cell_container_for_microenvironment( microenvironment, mechanics_voxel_size );
123124

124125
/* Users typically start modifying here. START USERMODS */

sample_projects/cancer_biorobots/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<virtual_wall_at_domain_edge>true</virtual_wall_at_domain_edge>
6262
<disable_automated_spring_adhesions>true</disable_automated_spring_adhesions>
6363
<random_seed>0</random_seed>
64+
<mechanics_voxel_size>30</mechanics_voxel_size>
6465
</options>
6566

6667
<microenvironment_setup>

sample_projects/cancer_biorobots/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ int main( int argc, char* argv[] )
118118
/* PhysiCell setup */
119119

120120
// set mechanics voxel size, and match the data structure to BioFVM
121-
double mechanics_voxel_size = 30;
121+
double mechanics_voxel_size = PhysiCell_settings.mechanics_voxel_size;
122+
std::cout << "Setting mechanics voxel size= " << mechanics_voxel_size << std::endl;
122123
Cell_Container* cell_container = create_cell_container_for_microenvironment( microenvironment, mechanics_voxel_size );
123124

124125
/* Users typically start modifying here. START USERMODS */

sample_projects/cancer_immune/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
<legacy_random_points_on_sphere_in_divide>false</legacy_random_points_on_sphere_in_divide>
125125
<virtual_wall_at_domain_edge>true</virtual_wall_at_domain_edge>
126126
<disable_automated_spring_adhesions>true</disable_automated_spring_adhesions>
127+
<mechanics_voxel_size>30</mechanics_voxel_size>
127128
</options>
128129

129130
<microenvironment_setup>

sample_projects/celltypes3/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
<options>
122122
<legacy_random_points_on_sphere_in_divide>false</legacy_random_points_on_sphere_in_divide>
123123
<disable_automated_spring_adhesions>false</disable_automated_spring_adhesions>
124+
<mechanics_voxel_size>30</mechanics_voxel_size>
124125
</options>
125126

126127
<microenvironment_setup>

sample_projects/celltypes3/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ int main( int argc, char* argv[] )
108108
/* PhysiCell setup */
109109

110110
// set mechanics voxel size, and match the data structure to BioFVM
111-
double mechanics_voxel_size = 30;
111+
double mechanics_voxel_size = PhysiCell_settings.mechanics_voxel_size;
112+
std::cout << "Setting mechanics voxel size= " << mechanics_voxel_size << std::endl;
112113
Cell_Container* cell_container = create_cell_container_for_microenvironment( microenvironment, mechanics_voxel_size );
113114

114115
/* Users typically start modifying here. START USERMODS */

sample_projects/custom_division/config/PhysiCell_settings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<virtual_wall_at_domain_edge>true</virtual_wall_at_domain_edge>
5252
<disable_automated_spring_adhesions>false</disable_automated_spring_adhesions>
5353
<random_seed>0</random_seed>
54+
<mechanics_voxel_size>30</mechanics_voxel_size>
5455
</options>
5556

5657
<microenvironment_setup>

0 commit comments

Comments
 (0)