ToruNiina / Mjolnir

:zap: general purpose coarse-grained molecular dynamics simulation package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mjolnir

build document Codacy Badge Latest Version License

Description

Flexible, well-organized, and modern molecular dynamics simulation package, mainly for coarse-grained models.

The detailed information can be found at https://mjolnir-md.github.io/Mjolnir/ .

Goals

  1. Flexibility: To make it easy to implement new forcefields.
  2. Transparency: To do everything that a user wants and nothing more than that.
  3. Efficiency: To be fast whenever possible without breaking the above goals.

Capability

  • Modern NVT/NPT Langevin integrators, such as BAOAB and G-JF.
  • Langevin integrators with bond-length constraints based on g-BAOAB.
  • Several simulation algorithms, such as simulated annealing, switching forcefield, etc.
  • Support for all the well-known interactions (pair, bond, angle, dihedral) with many potential functions. (L-J, Debye-Hückel, harmonic, gaussian, worm-like chain, and more!)
  • Support for well-established Protein (AICG2+) and DNA (3SPN2/C) coarse-grained models.
  • Generalized multiple basin forcefield that enables conformational change in a coarse-grained model.
  • Parallel execution based on OpenMP.

... and many more!

Build

Since Mjolnir manages depending library via git submodule, clone this repo using git and do not download zip or release-tarball. It will cause compilation error.

All the depending libraries are automatically downloaded in the CMake script.

$ git clone https://github.com/Mjolnir-MD/Mjolnir.git
$ cd Mjolnir
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make test # optional

After this, you will find an executable binary in bin directory.

The codes are automatically tested on GitHub Actions.

Dependency

Mjolnir depends on toml11.

The test codes depend on Boost C++ Library.

These libraries are automatically downloaded in the CMake script. You don't need to install anything manually.

If you have already installed recent version of Boost Library (1.67.0 or later), you can use it by passing -DBOOST_ROOT=/path/to/boost option to cmake. It will save your time and system memory.

Example

Example input files are in the input directory. You can run them with the command below.

$ ./bin/mjolnir input/sh3_AICG2+.toml

The detailed information can be found at https://mjolnir-md.github.io/Mjolnir/.

Author

  • Toru Niina
    • the original designer and implementer.
  • Yutaka Murata
    • contributor implementing many features (see CHANGELOG).

Licensing terms

This product is licensed under the terms of the MIT License.

  • Copyright (c) 2016-2021 Toru Niina

All rights reserved.

About

:zap: general purpose coarse-grained molecular dynamics simulation package

License:MIT License


Languages

Language:C++ 98.6%Language:CMake 1.2%Language:Python 0.2%Language:Shell 0.0%