This function set the initial position. What it does is: if the distribution is the n. 5, then update the new center, otherwise it calls dist_iniz(x,x0,Raggio,num_dist).
- Parameters
-
x[] | position of pacterium (to be set) |
x0[] | initial position, set in the menu |
R | radius distribution |
type | of distribution, see menu |
- Returns
- if the initial position change return 1, otherwise 0. If the position didn't change the initial condition for this bacterium are the same as the previous one, so we don't have to perform initial-condition calculation.