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) {
3939
4040
4141 // 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" );
4344 // Pointer to immunostimulatory_factor diffusion grid
44- immunostimulatory_factor_dgrid_ = Simulation::GetActive ()-> GetResourceManager ()-> GetDiffusionGrid (" immunostimulatory_factor" );
45+ immunostimulatory_factor_dgrid_ = rm. GetDiffusionGrid (" immunostimulatory_factor" );
4546 // Initially not attached to a tumor cell
4647 attached_to_tumor_cell_ = false ;
4748 // Initialize attached cell pointer to null
You can’t perform that action at this time.
0 commit comments