74 cell_iter != rCellPopulation.
End();
78 double this_delta = p_model->
GetDelta();
79 double this_notch = p_model->
GetNotch();
82 cell_iter->GetCellData()->SetItem(
"notch", this_notch);
83 cell_iter->GetCellData()->SetItem(
"delta", this_delta);
88 cell_iter != rCellPopulation.
End();
95 if (!neighbour_indices.empty())
97 double mean_delta = 0.0;
98 for (std::set<unsigned>::iterator iter = neighbour_indices.begin();
99 iter != neighbour_indices.end();
103 double this_delta = p_cell->GetCellData()->GetItem(
"delta");
104 mean_delta += this_delta/neighbour_indices.size();
106 cell_iter->GetCellData()->SetItem(
"mean delta", mean_delta);
111 cell_iter->GetCellData()->SetItem(
"mean delta", 0.0);