An open API service indexing awesome lists of open source software.

https://github.com/mohebifar/openmm-transformer

A cleaner way to manage custom forces in OpenMM
https://github.com/mohebifar/openmm-transformer

openmm

Last synced: 4 months ago
JSON representation

A cleaner way to manage custom forces in OpenMM

Awesome Lists containing this project

README

        

# openmm-transformer
> A cleaner way to manage custom forces in OpenMM

This project was initially created to simplify input files for running OpenMM simulations with the Buckingham nonbonded. This package comes with the buckingham force transformer by default.

## Transformers
### BuckinghamForce

Add a `BuckinghamForce` tag to your forcefield file using the following format:

```xml



```

Then in the simulation script use `BuckinghamTransformer` to prepare the ForceField file for OpenMM's parser:

```python
from openmm_transformer import BuckinghamTransformer
from simtk.openmm import app

with BuckinghamTransformer('my-buckingham-forcefield.xml') as b68:
forcefield = app.ForceField(b68)
```