File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ CartCell::CartCell(const Real3& position) {
39
39
40
40
41
41
// Pointer to oxygen diffusion grid
42
- oxygen_dgrid_ = Simulation::GetActive ()->GetResourceManager ()->GetDiffusionGrid (" oxygen" );
42
+ ResourseManager &rm = *Simulation::GetActive ()->GetResourceManager ();
43
+ oxygen_dgrid_ = rm.GetDiffusionGrid (" oxygen" );
43
44
// Pointer to immunostimulatory_factor diffusion grid
44
- immunostimulatory_factor_dgrid_ = Simulation::GetActive ()-> GetResourceManager ()-> GetDiffusionGrid (" immunostimulatory_factor" );
45
+ immunostimulatory_factor_dgrid_ = rm. GetDiffusionGrid (" immunostimulatory_factor" );
45
46
// Initially not attached to a tumor cell
46
47
attached_to_tumor_cell_ = false ;
47
48
// Initialize attached cell pointer to null
You can’t perform that action at this time.
0 commit comments