Metadata-Version: 2.4
Name: soft-learn-project
Version: 0.0.1
Author-email: wangjinlong <396292346@qq.com>
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: ipykernel
Requires-Dist: ase
Requires-Dist: gpaw
Requires-Dist: janus-core[all]

# 材料模拟环境

## 主要基于ase, janus-core 包

可以用于vasp, lammps, gpaw, MLIP 等计算器
对于vasp 需要安装 vasp 可执行文件, lammps 需要安装 lammps的 python 包, 使 import lammps 可以使用

用法:

- 安装: pip install soft_learn_project
    pip install git+<https://gitee.com/wangjl580/soft_learn_project/tree/main> # 安装最新版本
- 示例:

```python
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>
