Skip to content
Closed

main #94

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
0cb6ebc
20230914
zhaojieincodes Sep 14, 2023
f476adf
Merge branch 'dev' of https://github.com/zhaojieincodes/HTMACat-kit i…
zhaojieincodes Sep 14, 2023
e093749
20230914-2
zhaojieincodes Sep 14, 2023
dea50f7
Merge pull request #63 from zhaojieincodes/dev
wuyaos Sep 14, 2023
2becd9a
“增加吸附在基底表面的功能”
littlebug-1 Nov 6, 2023
eb738b0
Merge branch 'dev' into test
zhzhang7549 Nov 6, 2023
3d5cab7
11
littlebug-1 Nov 6, 2023
163209b
"注释掉了一个test,并改了Ads运行报错的参数“
littlebug-1 Nov 6, 2023
cd8183e
Merge branch 'test' of https://github.com/littlebug-1/HTMACat-kit int…
littlebug-1 Nov 6, 2023
df802ac
"改动了分子"
littlebug-1 Nov 6, 2023
9df6fd0
Merge pull request #65 from littlebug-1/test
zhzhang7549 Nov 6, 2023
6c8f92f
"多出了一段代码,使得产生了两次吸附,现在删去了”
littlebug-1 Nov 7, 2023
80cab0b
‘更新’
littlebug-1 Nov 7, 2023
386973d
Merge pull request #66 from littlebug-1/test
zhzhang7549 Nov 7, 2023
f80e629
"BDMAS在Cu表面上的自动吸附,吸附在中心位置,分子最低原子距基底2埃"
littlebug-1 Nov 22, 2023
ced3222
Merge pull request #67 from littlebug-1/test
zhzhang7549 Nov 22, 2023
68ae4ac
ads settings增加了默认参数
haojieli-code Nov 24, 2023
bc34cef
settings增加默认值
haojieli-code Nov 24, 2023
fded6ca
settings增加默认值
haojieli-code Nov 24, 2023
e91e59e
"split功能增加"
littlebug-1 Dec 11, 2023
cbe53bc
Merge pull request #70 from haojieli-code/dev
zhzhang7549 Dec 11, 2023
dc27e2c
Merge pull request #71 from littlebug-1/test
zhzhang7549 Dec 11, 2023
875843a
"采用相对高度,分离基底和分子"
littlebug-1 Dec 11, 2023
b29e262
Merge pull request #73 from littlebug-1/test
zhzhang7549 Dec 11, 2023
888dd71
"改进了对吸附分子的识别,更适用于不同的基底表面,同时减少了输入分子元素的环节"
littlebug-1 Dec 18, 2023
a2a9f70
Merge pull request #74 from littlebug-1/test
zhzhang7549 Dec 18, 2023
867a378
"增加了对example中adsorb例子的说明,增添了split的例子,改变了split功能最终吸
littlebug-1 Dec 19, 2023
80fb6bd
Merge pull request #75 from littlebug-1/test
zhzhang7549 Dec 19, 2023
349c430
20240816_hetero_direction_mode
zhaojieincodes Aug 16, 2024
83eee3f
20240816_hetero_example
zhaojieincodes Aug 16, 2024
49a74d2
20240816_mod_requirements
zhaojieincodes Aug 16, 2024
8905fc9
Merge pull request #76 from zhaojieincodes/dev
zhzhang7549 Aug 16, 2024
e6a1e2e
20240818_hetero模式微调
zhaojieincodes Aug 17, 2024
5f052af
20240819_hetero模式功能提升
zhaojieincodes Aug 19, 2024
31dfb81
Merge branch 'dev' of https://github.com/zhaojieincodes/HTMACat-kit i…
zhaojieincodes Aug 19, 2024
c9d34f1
Merge pull request #77 from zhaojieincodes/dev
zhzhang7549 Sep 4, 2024
36ff14f
更新反应网络绘制部分。运行crn命令后运行drawnet命令可输出反应网络的绘制图。
zhzhang7549 Sep 4, 2024
70629be
Merge branch 'dev' of https://github.com/materialssimulation/HTMACat-…
zhzhang7549 Sep 4, 2024
b01f3cb
修改了部分bug
zhzhang7549 Nov 6, 2024
e58925f
Merge pull request #78 from zhzhang7549/dev
zhzhang7549 Nov 6, 2024
7cfe63a
20250108
zqxian Jan 8, 2025
ac50312
20250108基底4A
zqxian Jan 13, 2025
fc3214c
Update test.yml
zhzhang7549 Jan 16, 2025
39f545f
1.17间距和人员更新
zqxian Jan 17, 2025
19554f9
Merge pull request #81 from zqxian/dev
zqxian Jan 17, 2025
383057d
asphericity mode 添加第一、二、三惯性矩
zqxian Feb 24, 2025
f84078e
asphericity mode 添加第一、二、三惯性矩,python version
zqxian Feb 24, 2025
817ec49
python version不变更
zqxian Mar 9, 2025
8891d44
Merge pull request #83 from zqxian/dev
zqxian Mar 9, 2025
8f5ee57
基底中心
zqxian Apr 28, 2025
a047717
基地中心
zqxian Apr 30, 2025
6d15f1d
Merge pull request #85 from zqxian/dev
zqxian Apr 30, 2025
0d23929
基底中心、距离调整
zqxian May 12, 2025
4743d3e
Merge branch 'dev' of github.com:zqxian/HTMACat-kit into dev
zqxian May 12, 2025
4fd0675
Merge pull request #86 from zqxian/dev
zqxian May 12, 2025
6aef38c
Update test_coadsorption.py
zhzhang7549 May 12, 2025
0a2ab46
基底中心test
zqxian May 12, 2025
5e41007
Merge pull request #88 from zqxian/dev
zqxian May 12, 2025
7824431
20250622保留吸附位点和吸附模式
zqxian Jun 22, 2025
f2bb1c2
保留位点和模式
zqxian Jun 22, 2025
4a00940
Merge pull request #90 from zqxian/dev
zqxian Jun 22, 2025
851ff11
自动位点吸附与API
zqxian Oct 23, 2025
93ed075
Merge pull request #91 from zqxian/dev
zqxian Oct 26, 2025
b26fb4c
readme
zqxian Nov 11, 2025
97ea884
readme2
zqxian Nov 11, 2025
337f438
read3
zqxian Nov 11, 2025
d892043
read4
zqxian Nov 11, 2025
6082920
readme
zqxian Nov 11, 2025
b0cace3
Merge pull request #92 from zqxian/dev
zqxian Nov 11, 2025
309e5ee
解决dev分支合并
zqxian Nov 25, 2025
18a17c5
Merge pull request #95 from zqxian/dev
zqxian Nov 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7", "3.8"]
Expand Down
10 changes: 6 additions & 4 deletions HTMACat/Extract_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def get_atom_neigh(poscar, atom):


# 8. TO get atoms binding with surface among adatoms
def get_binding_adatom(poscar):
def get_binding_adatom(poscar, layer=4):
"""Determine the adsorbed atoms and the surface atoms to which they bind.

Parameters
Expand Down Expand Up @@ -559,7 +559,9 @@ def get_binding_adatom(poscar):
struct = read(poscar, format="vasp")
else:
struct = poscar
layer = len(get_unique_coordinates(poscar, axis=2, tag=True, tol=0.01))-1
# layer = len(get_unique_coordinates(poscar, axis=2, tag=True, tol=0.01))-1
# print(f"layer {layer}")
# print(get_unique_coordinates(poscar, axis=2, tag=True, tol=0.01))
(
adatoms,
adatoms_symb,
Expand All @@ -568,8 +570,8 @@ def get_binding_adatom(poscar):
subsurfatoms,
subsurfatoms_symb,
) = distinguish_atom_binding(poscar, tol=0.05, base_layer=layer) # Changed by RxChen, 2023/06/02
# print(adatoms_symb,surfatoms_symb)
# print(struct.symbols)
# print(f"adatoms {adatoms_symb},surfatoms {surfatoms_symb}")
# print(f"struct.symbols {struct.symbols}")
cutOff = natural_cutoffs(struct, mult=1.0)
# print(cutOff)
nl = NeighborList(cutOff, self_interaction=False, bothways=True)
Expand Down
Loading
Loading