openmopac / mopac

Molecular Orbital PACkage
http://openmopac.net
GNU Lesser General Public License v3.0
111 stars 31 forks source link

Stress tensor & more consistent gradients in AUX #181

Closed godotalgorithm closed 10 months ago

godotalgorithm commented 10 months ago

Fixes #131. This PR implements the stress tensor, and it also prints out gradient information more consistently in the AUX file alongside features that also print updated coordinates. Also, this PR fixes a bug in the pressure-dependence of gradients when the translation vectors are non-orthogonal.

Status

codecov[bot] commented 10 months ago

Codecov Report

Merging #181 (a17ca91) into main (805ec17) will decrease coverage by 0.09%. The diff coverage is 21.17%.

@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
- Coverage   66.89%   66.80%   -0.09%     
==========================================
  Files         331      331              
  Lines       73899    74014     +115     
==========================================
+ Hits        49432    49448      +16     
- Misses      24467    24566      +99     
Files Changed Coverage Δ
src/forces/deriv.F90 49.73% <0.00%> (-1.92%) :arrow_down:
src/output/to_screen.F90 47.10% <19.40%> (-1.81%) :arrow_down:
src/moldat.F90 62.96% <25.00%> (-2.67%) :arrow_down:
src/compfg.F90 73.05% <100.00%> (+0.08%) :arrow_up:
src/run_mopac.F90 76.42% <100.00%> (+0.03%) :arrow_up: