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

Fix API bug with no moveable objects #257

Merged
merged 4 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ cff-version: 1.2.0
message: "If you use this software for a scientific publication, please cite it as below."
title: MOPAC
type: software
version: 23.1.1
version: 23.1.2
doi: 10.5281/zenodo.6511958
date-released: 2025-02-11
date-released: 2025-02-17
authors:
- family-names: Moussa
given-names: "Jonathan E."
Expand Down
6 changes: 4 additions & 2 deletions src/interface/mopac_api_operations.F90
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ module subroutine mopac_scf(system, state, properties) bind(c)
type(mopac_state), intent(inout) :: state
type(mopac_properties), intent(out) :: properties

keywrd = " 1SCF PULAY GRADIENTS BONDS"
keywrd = " 1SCF PULAY BONDS"
if (system%natom_move + system%nlattice_move > 0) keywrd = trim(keywrd) // " GRADIENTS"
call mopac_initialize(system)
if (.not. moperr) call mopac_load(state)
! call computational routine for SCF calculations
Expand Down Expand Up @@ -127,7 +128,8 @@ module subroutine mozyme_scf(system, state, properties) bind(c)
type(mozyme_state), intent(inout) :: state
type(mopac_properties), intent(out) :: properties

keywrd = " MOZYME 1SCF GRADIENTS ALLBONDS"
keywrd = " MOZYME 1SCF ALLBONDS"
if (system%natom_move + system%nlattice_move > 0) keywrd = trim(keywrd) // " GRADIENTS"
call mopac_initialize(system)
if (.not. moperr) call mozyme_load(state)
! call computational routine for SCF calculations
Expand Down
Loading