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

ASIrebase #1335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

ASIrebase #1335

wants to merge 1 commit into from

Conversation

bhourahine
Copy link
Member

@bhourahine bhourahine commented Oct 22, 2023

Contains changes from #1217 rebased on top of main at 1ab3e50, plus blocking of incompatible DFTB+ features if ASI is turned on.

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Attention: Patch coverage is 87.69231% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 70.83%. Comparing base (e431809) to head (aa506ac).
Report is 22 commits behind head on main.

❗ Current head aa506ac differs from pull request most recent head 5510442. Consider uploading reports for the commit 5510442 to get more accurate results

Files Patch % Lines
src/dftbp/dftbplus/initprogram.F90 58.06% 13 Missing ⚠️
src/dftbp/dftbplus/apicallback.F90 81.57% 7 Missing ⚠️
src/dftbp/dftbplus/main.F90 88.46% 3 Missing ⚠️
src/dftbp/api/mm/apicallbackc.f90 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1335      +/-   ##
==========================================
- Coverage   70.84%   70.83%   -0.01%     
==========================================
  Files         231      233       +2     
  Lines       44186    44329     +143     
==========================================
+ Hits        31303    31400      +97     
- Misses      12883    12929      +46     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bhourahine bhourahine force-pushed the ASIrebase branch 4 times, most recently from b256742 to 96d636e Compare February 7, 2024 23:35
@bhourahine bhourahine modified the milestones: 24.1, 24.2 Mar 2, 2024
@bhourahine bhourahine force-pushed the ASIrebase branch 3 times, most recently from 9953104 to 26c612b Compare March 20, 2024 00:27
@bhourahine bhourahine marked this pull request as ready for review March 20, 2024 00:28
@bhourahine bhourahine added enhancement API Relates to the API labels Mar 20, 2024
Added electrostatic potential C API

Added API functions for ASI API implemenation. Including import and
export of Hamiltonian, Overlap and Density Matrices.

Lock down ASI incompatible options when the interface is active (note,
manual keyword required for changes in H/S due to limitations of ASI
at the moment):

* Forces can't be used if the hamiltonian is changed without matrix
element derivatives.

* SCC can't work unless the density matrix extraction is used to update
the hamiltonian (no way of knowing at the moment).

* Can't evaluate Mulliken populations if S changes at the moment.

Note: imp_ham tester contains workaround for icx compiler 24.0 problem
on returning bool.

Co-authored-by: Ben Hourahine <benjamin.hourahine@strath.ac.uk>
@bhourahine
Copy link
Member Author

@PavelStishenko this is now rebased on the current main (only two conflicts, so not so bad this time). Note that until there is a signaling mechanism for whether the overlap has been modified via ASI, it is unsafe to run SCC calculations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the API enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant