Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print final MBIS shell populations and widths #3102

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions psi4/src/psi4/libmints/oeprop.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2027,6 +2027,17 @@ std::tuple<SharedMatrix, SharedMatrix, SharedMatrix, SharedMatrix> PopulationAna

if (!is_converged) throw ConvergenceError<int>("MBIS", max_iter, conv, delta_rho_max_0, __FILE__, __LINE__);

// Final population and width
if (print_output && debug >= 1) {
for (int atom = 0; atom < num_atoms; atom++) {
for (int m = 0; m < mA[atom]; m++) {
outfile->Printf(" FINAL ATOM %d, SHELL %d, POP %8.5f, WIDTH %8.5f\n", atom + 1, m + 1, Nai[atom][m],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be helpful to also print out the angular momentum of the shell (L)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @andyj10224, in MBIS the shells are just Slater functions, so they are spherically symmetric (L=0).

Sai[atom][m]);
}
}
outfile->Printf("\n");
}

// => Post-Processing <= //

// Atomic density, as defined in Equation 5 of Verstraelen et al.
Expand Down