# Enhanced Monte Carlo (EMC) Python Interface
[![PyPI version shields.io](https://img.shields.io/pypi/v/emc-pypi.svg?style=for-the-badge&logo=PyPI&logoColor=blue)](https://pypi.python.org/pypi/emc-pypi/)
[![PyPI download month](https://img.shields.io/pypi/dm/emc-pypi.svg?style=for-the-badge&logo=PyPI)](https://pypi.python.org/pypi/emc-pypi/)
This module is a thin Python wrapper library of the [EMC](http://montecarlo.sourceforge.net/emc/Welcome.html) package that allows you to use all EMC functionalities with Python interface.
EMC creates input structures from SMILES strings and LAMMPS input files for particle simulations with atomistic force fields - Born, COMPASS, PCFF, CHARMM, OPLS, TraPPE or coarse-grained force fields - DPD, Martini, SDK.
- See the [example input files](https://github.com/kevinshen56714/emc-pypi/tree/main/pyemc/emc/examples/setup) on how to prepare EMC input (.esh) files.
- See the [docs](https://github.com/kevinshen56714/emc-pypi/blob/main/pyemc/emc/docs/emc.pdf) to understand more about EMC.
The package works out of the box without pre-installation of EMC or any configuration. Please open an issue if you find something missing or not working as expected.
## Installation
```bash
pip install emc-pypi
```
## Usage
```python
import pyemc
# Run the emc_setup.pl and generate the build.emc file for the build command
pyemc.setup('your-setup-file.esh')
# Or you can pass in arguments like this
pyemc.setup('your-setup-file.esh', '-ntotal=1000', '-field=opls-aa')
# Finally, run the emc executable to create simulation input files
pyemc.build('build.emc')
```
In any publication of scientific results based in part or completely on the use of EMC, please cite the original paper:
P.J. in 't Veld and G.C. Rutledge, Macromolecules 2003, 36, 7358 [[link](https://pubs.acs.org/doi/full/10.1021/ma0346658)] [[pdf](https://pubs.acs.org/doi/pdf/10.1021/ma0346658)]
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
python调用EMC程序生成lammps的data文件。 (314个子文件)
bulk 0B
clog.c 16KB
template.c 12KB
template.c 11KB
cmplx.c 7KB
cgamma.c 5KB
template.c 4KB
template.c 4KB
template.c 3KB
template.c 2KB
stubs.c 2KB
template.c 1005B
template.c 754B
template.c 455B
copolymer 0B
pcff_templates.dat 36KB
pcff_ore_templates.dat 36KB
options.dat 14KB
pair.dat 11KB
angle.dat 4KB
mass.dat 3KB
bond.dat 2KB
c3s_templates.dat 2KB
zno_templates.dat 2KB
caso4_templates.dat 2KB
sio2_templates.dat 2KB
al2o3_templates.dat 2KB
template_templates.dat 1KB
._pcff_ore_templates.dat 212B
torsion.dat 164B
opls-aa.define 25KB
trappe-ua.define 21KB
opls-ua.define 12KB
trappe-eh.define 9KB
guillot.define 3KB
matsui.define 2KB
sdk.define 2KB
field.define 2KB
build.emc 8KB
build.emc 4KB
build.emc 4KB
build.emc 3KB
lammps2pdb.emc 825B
cavity.emc 818B
gr.emc 641B
gyration.emc 622B
traject2pdb.emc 620B
bond.emc 618B
distance.emc 581B
lammps2lammps.emc 488B
emc2pdb.emc 443B
lammps2emc.emc 381B
emc2lammps.emc 336B
lmp2pdb.emc 321B
pdb.emc 312B
xyz.emc 274B
convert.emc 179B
emc_linux64 6.14MB
emc_macos 5.01MB
setup.esh 2KB
name.esh 2KB
name.esh 2KB
solution.esh 2KB
name.esh 2KB
name.esh 2KB
name.esh 2KB
polymer.esh 2KB
lj.esh 2KB
polymer.esh 1KB
stage.esh 1KB
polymer.esh 1KB
polymer.esh 1KB
polymer.esh 1KB
field.esh 1KB
shear.esh 1KB
viscosity.esh 962B
field.esh 862B
environment.esh 844B
name.esh 723B
surface.esh 699B
polymer.esh 564B
polymer.esh 496B
water.esh 487B
fullerene.esh 481B
field.esh 468B
cluster.esh 423B
polymer.esh 413B
import.esh 395B
polymer.esh 373B
polymer.esh 372B
chemistry.esh 347B
multiphase.esh 335B
chemistry.esh 324B
chemistry.esh 79B
2018070100.esh 0B
emc_win32.exe 4.72MB
trappe-ua.field 127KB
pcff_ore.frc 394KB
pcff.frc 332KB
c3s.frc 10KB
共 314 条
- 1
- 2
- 3
- 4
资源评论
薛定谔的青蛙
- 粉丝: 4161
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功