Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

giorginolab/plumed2-pycv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYCV: a PLUMED 2 Module Enabling the Rapid Prototyping of Collective Variables in Python

Toni Giorgino

This repository contains the PYCV module of PLUMED.

PYCV is a module for the PLUMED 2 library which enables users to define Collective Variables (CVs) and arbitrary functions in the Python language. CV implementations may thus be modified and tested independently of the main code, with essentially no "test latency". Of note, coordinates are processed as numpy arrays, making it convenient to leverage the vast set of linear algebra and numerical algorithms provided by numpy, scipy, and many other open-source modules. Furthermore, just-in-time compilation and reverse-mode automatic differentiation are easily accessible using Google's JAX library.

The module's documentation and build instructions are in the README.md file contained in the module's directory. The actions contributed by this module are self-documenting; the corresponding text can be accessed e.g. by plumed manual --action PYTHONCV, or in the docs generated by make docs.

Following PLUMED's contribution philosophy, this repository is a fork of the official PLUMED2 repository taken at release v2.5.2. The contributed code is entirely contained in the directories src/pycv and regtest/pycv. Minor modifications were made to the configure script to simplify installation.

Please report bugs & ideas via this repository's Issues. PLUMED's original README is here.

About

PYCV module for PLUMED2. See the src/pycv directory.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 86.1%
  • Python 3.7%
  • Fortran 1.6%
  • HTML 1.6%
  • Shell 1.4%
  • C 1.3%
  • Other 4.3%