Thank u for the reply... / By saying "self-consistency" ..... I just wanted to mean..... from the initial guess, how DFT calculation obtains the final ground state value..!!! Tell, me if it's not so....
Of course, DFT is always self-consistent, that's a basic thing.
Now, as the output of the mixing algorithm... ultimately whatever that we will get must be a number .....!!
A number? For what? The electron density is a 3D function in space, rho(x,y,z). Not "a number".
But, if I think in real scenario....it should not be... and you are correct.....there must be variations...../ But my point is.... how that variation can be so continually repeating .... Rather I find that the cut-plane gives it properly (color bar showing the variation in density across the diff. atoms, bonds and vacuum )..... / That's why I was a getting confused ...that whether this variation in the 1D plot is actually showing any in-homogeneity...or, interpreting something else?
Well, that depends on what the system is, which I have no way of knowing since you didn't include any information about that. But generally there is of course a lot of inhomogeneity in the cell, the atoms are discrete and are connected with bonds which actually represent electron density.