计算化学公社
标题:
用xtb优化剪切板上的xyz文件
[打印本页]
作者Author:
wal
时间:
2025-10-25 11:09
标题:
用xtb优化剪切板上的xyz文件
在把剪切板当内存用的道路上越走越远了~
(, 下载次数 Times of downloads: 7)
上传 Uploaded
点击下载Click to download
cpp程序,mingw交叉编译。
使用方法:复制xyz text或xyz文件,双击程序运行
Looking for config file: D:\MyProgram\Clipxtb\xtbclip.ini
Configuration:
XTB executable: xtb (from PATH)
Temp path: D:\MyProgram\Clipxtb
GFN type: 2
Extra flags: (none)
Note: Using 'xtb' from system PATH. Make sure it's installed and accessible.
XTB Clipboard Optimizer
======================
Working directory: D:\MyProgram\Clipxtb\xtb_clipboard_work\
Cleaning working directory...
Working directory cleaned.
Read XYZ data from clipboard text.
XYZ format detected without charge/spin information.
Please enter charge (default 0):
复制代码
xtb可执行文件位置(若xtb在
PATH
里则可以留空)、临时文件路径(留空时使用系统tmp目录)、gfn类型可以通过配置文件手动更改,电荷与自旋需要现场输入。优化完成后,自动将新结构xyz text写入到剪切板:
------------------------------------------------------------------------
* finished run on 2025/10/25 at 11:02:24.638
------------------------------------------------------------------------
total:
* wall-time: 0 d, 0 h, 0 min, 0.742 sec
* cpu-time: 0 d, 0 h, 0 min, 0.297 sec
* ratio c/w: 0.400 speedup
SCF:
* wall-time: 0 d, 0 h, 0 min, 0.055 sec
* cpu-time: 0 d, 0 h, 0 min, 0.078 sec
* ratio c/w: 1.420 speedup
ANC optimizer:
* wall-time: 0 d, 0 h, 0 min, 0.569 sec
* cpu-time: 0 d, 0 h, 0 min, 0.219 sec
* ratio c/w: 0.384 speedup
normal termination of xtb
============================
SUCCESS: Optimization completed!
Optimized structure (with charge 0 and spin 1) has been copied to clipboard.
Press Enter to exit...
复制代码
联动tips:
1.利用
此程序
,只需一个快捷键即可用gview打开优化后的结构
2.创建快捷方式到桌面可以定义快捷键极速启动本程序(未来可能在上一条提到的程序里直接注册一个快捷键)
(, 下载次数 Times of downloads: 9)
上传 Uploaded
点击下载Click to download
作者Author:
Voidmio
时间:
2025-10-25 21:33
无敌了
欢迎光临 计算化学公社 (http://bbs.keinsci.com/)
Powered by Discuz! X3.3