Module dcg_sci_tool.reaction.find_nearest_hollow_site
Functions
def find_nearest_hollow_site(data: ovito.data.DataCollection,
type_names_order: list,
c_index: int,
o_index: int) ‑> pyparsing.core.Dict-
找到距离C-O中点最近的hollow位点
Args
data:DataCollection- 结构的ovito数据集合
type_names_order:list- 原子类型名称列表,索引对应原子类型编号
c_index:int- 目标C原子索引
o_index:int- 目标O原子索引
Returns
tuple: nearest_hollow_indexes (list): 最近的Hollow位点对应的金属原子序号列表(长度为3)
nearby_hollow_sites_count (int): C-O中点附近合理的Hollow位点数量