SPARC icon indicating copy to clipboard operation
SPARC copied to clipboard

printing final magnetic moments

Open bernstei opened this issue 3 years ago • 4 comments

Is there any way to print out any measure of the local magnetic moment for each atom at the final SCF converged density?

bernstei avatar Jul 06 '21 23:07 bernstei

Currently, there is no such feature. Are you thinking of some Bader charge type analysis to assign magnetic moment to each atom? If useful, we should be able to incorporate such a feature.

phanish-suryanarayana avatar Jul 08 '21 17:07 phanish-suryanarayana

On Jul 8, 2021, at 1:19 PM, phanish-suryanarayana @.@.>> wrote:

Currently, there is no such feature. Are you thinking of some Bader charge type analysis to assign magnetic moment to each atom? If useful, we should be able to incorporate such a feature.

Anything, really. Even getting an output of the density field, so I can do the local moment by hand over spheres, would be useful.

bernstei avatar Jul 08 '21 17:07 bernstei

You can use the input file option:

PRINT_DENSITY: 1

It will print out the spin-up and spin-down components of the electron density at every grid point.

phanish-suryanarayana avatar Jul 08 '21 17:07 phanish-suryanarayana

On Jul 8, 2021, at 1:42 PM, phanish-suryanarayana @.@.>> wrote:

You can use the input file option:

PRINT_DENSITY: 1

It will print out the spin-up and spin-down components of the electron density at every grid point.

Thanks, that's useful for now. In the longer term it might be useful to calculate from that moments integrated over atom-centered spheres or Voronoi cells or Bader volumes, or something.

bernstei avatar Jul 08 '21 17:07 bernstei