Skip to main content

MC Bond Exchange for LAMMPS Simulations

Project description

MC-Exchange Python Package

The MC-Exchange Python package has been developed to support the dynamic bond exchange reactions (BERs) during a molecular dynamics (MD) simulation run using LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator) software. Using the LAMMPS Python package, a MD simulation can be run directly from a Python script, allowing an interface between Python and LAMMPS. The MC-Exchange Python package uses this to gather the necessary data from the LAMMPS MD simulation, analyze the data, determine which bonds to exchanged, and finally communicate the altered bond data back to LAMMPS, where the actual bond exchange can take place.

General Use

After successful installation of the MC-Exchange Python package, it can be imported into a script as follows:

import MC_exchange as mc

The above statement imports all functionalities of the package.

Package organization

The MC-Exchange Python package is organized into modules. Currently, there are three modules dedicated to the base functionalities, and one module where these functionalities are combined to perform bond exchange reactions. The three base modules are calculations.py, data.py and neigh_list.py.

Base modules

Currently, three base modules are responsible for the primary functionalities of the package. data.py is the module responsible for gathering data from the LAMMPS simulations. calculations.py contains calculations that use the data obtained by the functions of data.py to compute properties that can be necessary during bond exchange reactions. Lastly, neigh_list.py contain the functionalities required to construct spacial neighbor lists using atom data.

Functionalities

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mc_exchange-0.1.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mc_exchange-0.1.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file mc_exchange-0.1.1.tar.gz.

File metadata

  • Download URL: mc_exchange-0.1.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for mc_exchange-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2461e4042866ecd90c22dbfcb40ec4b2bfa64192e5fe2dfdd630e1aa6d15baf5
MD5 02e7348048fc577c590d84a67f446997
BLAKE2b-256 4629d39808e29e9fdfe0fbaaf266a5486553d6e42bff4007e89179954b51fa06

See more details on using hashes here.

File details

Details for the file mc_exchange-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mc_exchange-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for mc_exchange-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4b2a253653d512945bdff45663f05b013c9e429d8c7192d257d180a0babe6eb
MD5 ffb54ab714aa10e110082775a318d412
BLAKE2b-256 7d484c11143a7cd4720d26d5fbaa5dbbbd1639c156d38f9e552cd81addf726c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page