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

Third order SCC stress components #139

Merged
merged 4 commits into from
May 9, 2018

Conversation

bhourahine
Copy link
Member

Missing term in the stress for DFTB3 in periodic boundaries added.

@bhourahine bhourahine requested a review from aradi April 17, 2018 22:43
@bhourahine bhourahine mentioned this pull request May 1, 2018
real(dp) :: rab, tmp, tmp3(3), stTmp(3,3), prefac, vect(3)
logical :: damping

stTmp = 0.0_dp
Copy link
Member

Choose a reason for hiding this comment

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

stTmp(:,:) = 0.0_dp

if (iNeigh > this%nNeigh(iSp2, iAt1)) then
cycle
end if
vect(:) = coords(:,iAt1) - coords(:,iAt2)
Copy link
Member

Choose a reason for hiding this comment

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

I was wondering, whether we should refactor the part below it in a separate routine, as we call it here and also in the forceDC routine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Possibly not until the XLBOMD and H5 changes are made compatible.

Copy link
Member

@aradi aradi left a comment

Choose a reason for hiding this comment

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

Fine, but we would need at least one test which checks it.

@bhourahine bhourahine merged commit c62aa56 into dftbplus:master May 9, 2018
@bhourahine bhourahine deleted the thirdOrderStress branch May 9, 2018 12:49
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

2 participants