Gamma-ray and neutron diffraction studies of CoF2: magnetostriction, electron density and magnetic moments. 
Accurate structure factors up to sin theta/lambda = 1.6 A(-1) have been measured with 316.5 keV gamma-rays from CoF(2), both at room temperature and in the antiferromagnetic state at 10 K. The same crystal was used to collect extended time-of-flight neutron diffraction data in the two magnetic states, which allowed an accurate determination of the fluorine positional parameter.  For room temperature, the standard structural parameters are reported.  At 10 K, a complete charge-density study has been carried out.  The total number of 3d electrons on Co is found to be 6.95 (3).  The experimental populations of the d orbitals agree with expectation from crystal field theory.  The fluorine valence region exhibits a strong dipolar deformation.  Electronic properties at the bond critical points and integrated atomic properties are derived from the static model electron density, revealing the Co-F interactions as purely ionic.  On magnetic ordering, a shift of the fluorine ions of 1.5 (4) x 10(-3) A is found which confirms a prediction from theory of optical birefringence.  The effect of magnetostriction on the distortion of the ligand coordination octahedra is compared for the late members of the 3d transition-metal difluorides.  From neutron powder diffraction, an ordered magnetic moment of 2.60 (4) mu(B) per cobalt ion is found.  Despite the strong deviation from the ideal spin value of 3 mu(B), there is still an appreciable orbital contribution to the local magnetic moment.