Use of density topology information to account for nuclear quantum effects, and as an ingredient for atom refinament algorithms