计算化学公社

 找回密码 Forget password
 注册 Register
Views: 7513|回复 Reply: 0
打印 Print 上一主题 Last thread 下一主题 Next thread

[GROMACS] "水指"坐标求助

[复制链接 Copy URL]

226

帖子

0

威望

878

eV
积分
1104

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
Morita提出的离子在两相界面转移时,产生水指,并定义了”水指“坐标。支持材料上给出了计算水指的伪代码:
# calculation of w
# d: the array of sorted distances.
# return: the value of w
function calculate_w (d)
# binary search
left = 1; right = size(d)
do
if ( left > right ) exit
mid = (left + right)/2
graph = make_graph(d(mid))
# making the graph edged by the shorter distances than d(mid)
# return the created graph
connected = judge_reachability(graph)
# judging the reachability of the graph by using the breadth first search
# return “ true ” if the graph is reachable and
# “ false ” if the graph is not reachable.
if (connected == “ true ”) then
irwf = mid
right = mid - 1
else
left = mid + 1
irwf = left
endif
enddo
rwf = d(irwf)
return rwf
endfunction
我对代码并不了解。因此想请教各位如何将这个计算水指的代码应用带gromacs的分析中。原文及支撑材料见附件

ja5b04375_si_001.pdf

261.99 KB, 下载次数 Times of downloads: 4

Microscopic Barrier Mechanism of Ion Transport through Liquid-Liquid Interface.pdf

747.16 KB, 下载次数 Times of downloads: 10

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-23 07:32 , Processed in 0.176526 second(s), 24 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list