Closed FreemanTheMaverick closed 6 months ago
You could see if the embed_normalization_into_coefficients
flag https://github.com/evaleev/libint/blob/25867986b574254ea88e41a8f29830a035167afa/include/libint2/shell.h#L131 does what you need.
You could see if the
embed_normalization_into_coefficients
flaghttps://github.com/evaleev/libint/blob/25867986b574254ea88e41a8f29830a035167afa/include/libint2/shell.h#L131 does what you need.
Thank you for your reply! When I create a basis set via libint2::BasisSet obs("6-31g*",atoms);
, what should I do to toggle that flag on?
I have figured it out. The function libint2::Shell::coeff_normalized(c,p)
returns the wanted value.
Dear Prof. Valeev,
I notice that the contraction coefficients written in
.gbs
and those given bystd::cout<<libint2::Shell;
are different. For example, the basis set file says the first shell of oxygen 6-31g* iswhile
std::cout<<libint2::Shell;
givesPerhaps after reading .gbs file, libint2 somehow rescales the contraction coefficients. Could you please tell me how to retrieve the original coefficients through libint2? Thank you!