Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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

openmm

Last synced: 16 days 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)
```