Skip to content

Added Minimum and Maximum CV + bug fixes#6

Open
mbocus wants to merge 3 commits into
molmod:masterfrom
mbocus:master
Open

Added Minimum and Maximum CV + bug fixes#6
mbocus wants to merge 3 commits into
molmod:masterfrom
mbocus:master

Conversation

@mbocus

@mbocus mbocus commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

The old Minimum implementation with discontinuous derivatives has been replaced with the continuous version used by PLUMED in the ALT_MIN function of the MULTICOLVAR module. Additionally, a Maximum is introduced that corresponds to the soft MAX of PLUMED.

Both implementations have been tested and validated with test_CV_implementations on a model system (tol=1E-6).

The deprecated np.trpz function has been replaced with its modern counterpart np.trapezoid, solving #4

A .gitignore file has been created to prevent the upload of files created while pip-installing the library from the source directory.

mbocus added 3 commits June 24, 2026 10:14
The deprecated `np.trpz` function has been replaced with its modern counterpart `np.trapezoid`, solving molmod#4
Added a `.gitignore` file to prevent uploading files generated when pip installing the repo for testing.
The old `Minimum` implementation with discontinuous derivatives has been replaced with the continuous version used by PLUMED in the ALT_MIN function of the MULTICOLVAR module. Additionally, a `Maximum` is introduced that corresponds to the soft MAX of PLUMED.

Both implementations have been tested and validated with `test_CV_implementations` on a model system (`tol=1E-6`).
@mbocus

mbocus commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

The docs will also have to be regenerated to account for the changes in the files.

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.

1 participant