📄 sort_enrg.cc
字号:
/* sort_enrg.cc */#ifdef sgi #include "sort_enrg.h"#else extern "C" { #include "sort_enrg.h" }#endifextern FILE *logFile;void sort_enrg( float econf[MAX_RUNS], int isort[MAX_RUNS], int nconf ){/*__________________________________________________________________________ | Sort conformations on energy | |__________________________________________________________________________| | Searches through all conformations; puts in isort[0] the index of the | | lowest energy, in isort[1] the next lowest energy's index, and so on. | |__________________________________________________________________________| | WARNING: Fails if any 2 or more econf[] energies are equal. | |__________________________________________________________________________|*/ quicksort( econf, isort, 0, nconf-1 );}/* EOF */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -