No project description provided
Project description
材料模拟环境
安装
主要基于ase, janus-core 包
- 安装: 常规: pip install soft_learn_project pip install git+https://gitee.com/wangjl580/soft_learn_project.git # 安装最新版本 推荐: git clone https://gitee.com/wangjl580/soft_learn_project.git cd soft_learn_project pip install -e . # 安装当前目录的代码
用法
- 示例:
from soft_learn_project.ase_learn import aseLearn
al = aseLearn.AseLearn()
# 使用不同的计算器
# calc = al.CalcModule.get_calc_lammps(
# directory='/Users/wangjinlong/job/tmp/t1', )
# calc = al.CalcModule.get_calc_vasp(
# directory='/Users/wangjinlong/job/tmp/t1',
# kpts=(3,3,3))
# calc = al.CalcModule.get_calc_gpaw(
# directory='/Users/wangjinlong/job/tmp/t1',
# kpts=(3,3,3))
calc = al.CalcModule.get_calc_MLIP(
directory='/Users/wangjinlong/job/tmp/t1', )
atoms = al.Model.get_atoms_normal_crsytal(name='W', cubic=True)
al.calc_lattice_constant(atoms=atoms,
calc=calc,
is_recalc=True
)
最新的源码: https://gitee.com/wangjl580/soft_learn_project/tree/main
说明
可以用于vasp, lammps, gpaw, MLIP 等计算器 对于vasp 需要安装 vasp 可执行文件 1. 从 https://www.vasp.at/ 下载 vasp 编译 对于 lammps 需要安装 lammps的 python 包, 使 import lammps 可以使用, 1. git clone https://gitlab.com/lammps/lammps.git 2. cd lammps 3. cd src 4. make mac_mpi mode=shlib -j8 5. make install-python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file soft_learn_project-0.0.2.tar.gz.
File metadata
- Download URL: soft_learn_project-0.0.2.tar.gz
- Upload date:
- Size: 808.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
079178e3a8df9951316b2951fc54b2e6505e3dfa20f90a29f1957e486cd0bdbb
|
|
| MD5 |
3f0eb5f04998e9e10ab2f280d07c8a05
|
|
| BLAKE2b-256 |
eef5da048dfffc052892bb4751cd834803d1a568886f97231df30b98f0989ff3
|
File details
Details for the file soft_learn_project-0.0.2-py3-none-any.whl.
File metadata
- Download URL: soft_learn_project-0.0.2-py3-none-any.whl
- Upload date:
- Size: 911.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b569e1cb9e257d74ee930cb2861cc0be13f3769e2f0cdc62b06b771e6c8ce2
|
|
| MD5 |
33a1d0d7e074a87776cad6271a9f3a21
|
|
| BLAKE2b-256 |
99f82e6ec31a8af2c561efbb9b5f2c4dc4d2b9cc9e7b9baf07bf1c28f904c1da
|