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

potential_ moved to subclasses. #2889

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

JonathonMisiewicz
Copy link
Contributor

Description

The potential_ of SCF subclasses has been moved.

Dev notes & details

  • The HF base class has been weakened from having a std::shared_ptr<VBase> potential_ to having a method get_potential() that returns a std::shared_ptr<VBase>. After Triplet TDDFT #2885, the subclasses may need to access subclass-specific methods.

Checklist

  • Quicktests pass

Status

  • Ready for review
  • Ready for merge

psi4/src/psi4/libscf_solver/hf.h Outdated Show resolved Hide resolved
psi4/src/psi4/libscf_solver/rohf.cc Outdated Show resolved Hide resolved
Copy link
Member

@jturney jturney left a comment

Choose a reason for hiding this comment

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

Looks great!

@JonathonMisiewicz JonathonMisiewicz merged commit 9977860 into psi4:master Feb 27, 2023
@JonathonMisiewicz JonathonMisiewicz deleted the 2885_move_potential branch February 27, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants