51 unsigned targetNodeIndex,
56 c_vector<double, DIM> current_location = rCellPopulation.
GetNode(currentNodeIndex)->
rGetLocation();
57 c_vector<double, DIM> target_location = rCellPopulation.
GetNode(targetNodeIndex)->
rGetLocation();
59 for (
unsigned dimension=0; dimension<DIM; dimension++)
61 if (target_location[dimension] > current_location[dimension])
65 else if (target_location[dimension] < current_location[dimension])