Skip to content

Commit 3274ae5

Browse files
authored
Update operator accessing (#154)
1 parent 1dc3f16 commit 3274ae5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/integrals/ao_integrals/j_density_fitted.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ MODULE_RUN(JDensityFitted) {
4343
auto bra = braket.bra();
4444
auto ket = braket.ket();
4545
const auto& j_hat = braket.op();
46-
const auto& rho = j_hat.rhs_particle();
46+
const auto& rho = j_hat.get_rhs_particle();
4747
const auto& p = rho.value();
4848
auto rho_aos = rho.basis_set();
4949
auto aux = inputs.at("Auxiliary Basis Set").value<aos_t>();

src/integrals/ao_integrals/j_four_center.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ MODULE_RUN(JFourCenter) {
4040
auto bra = braket.bra();
4141
auto ket = braket.ket();
4242
const auto& j_hat = braket.op();
43-
const auto& rho = j_hat.rhs_particle();
43+
const auto& rho = j_hat.get_rhs_particle();
4444
const auto& p = rho.value();
4545
auto rho_aos = rho.basis_set();
4646
auto& eri_mod = submods.at("Four-center ERI");

src/integrals/ao_integrals/k_density_fitted.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ MODULE_RUN(KDensityFitted) {
4444
auto bra = braket.bra();
4545
auto ket = braket.ket();
4646
const auto& j_hat = braket.op();
47-
const auto& rho = j_hat.rhs_particle();
47+
const auto& rho = j_hat.get_rhs_particle();
4848
const auto& p = rho.value();
4949
auto rho_aos = rho.basis_set();
5050
auto aux = inputs.at("Auxiliary Basis Set").value<aos_t>();

src/integrals/ao_integrals/k_four_center.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ MODULE_RUN(KFourCenter) {
4141
auto bra = braket.bra();
4242
auto ket = braket.ket();
4343
const auto& j_hat = braket.op();
44-
const auto& rho = j_hat.rhs_particle();
44+
const auto& rho = j_hat.get_rhs_particle();
4545
const auto& p = rho.value();
4646
auto rho_aos = rho.basis_set();
4747
auto& eri_mod = submods.at("Four-center ERI");

src/integrals/libint/detail_/make_engine.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ auto make_engine(const std::vector<libint2::BasisSet>& bases, const OpType& op,
5656
}
5757

5858
if constexpr(std::is_same_v<OpType, simde::type::v_en_type>) {
59-
const auto& nuclei = op.rhs_particle();
59+
const auto& nuclei = op.get_rhs_particle();
6060
std::vector<std::pair<double, std::array<double, 3>>> qs;
6161
for(const auto& ai : nuclei) {
6262
std::array<double, 3> coords{ai.x(), ai.y(), ai.z()};

0 commit comments

Comments
 (0)