| ²é¿´: 385 | »Ø¸´: 1 | ||
hfxfroiгæ (³õÈëÎÄ̳)
|
[ÇóÖú]
¹ØÓÚµ°°×Öʼì²âµÄÒ»¶ÎC++³ÌÐò
|
|
ϱßÊdzÌÐòµÄÒ»²¿·Ö£¬ÇëÎÊ´óÉñÄܲ»Äܽ²½âһϡ£¡£¡££¨Ï±ßÊǶԵ°°×ÖʦÂÕÛµþµÄ½á¹¹¼ì²âËã·¨³ÌÐò£© char sheet = ' '; if (residue.GetSheet() != 0) sheet = 'A' + (residue.GetSheet() - 1) % 26; string NHO[2], ONH[2]; const HBond* acceptors = residue.Acceptor(); const HBond* donors = residue.Donor(); for (uint32 i = 0; i < 2; ++i) { NHO = ONH = "0, 0.0"; if (acceptors.residue != nullptr) { int32 d = acceptors.residue->GetNumber() - residue.GetNumber(); NHO = (boost::format("%d,%3.1f" % d % acceptors.energy).str();} if (donors.residue != nullptr) { int32 d = donors.residue->GetNumber() - residue.GetNumber(); ONH = (boost::format("%d,%3.1f" % d % donors.energy).str();} } |
» ²ÂÄãϲ»¶
Сľ³æÃ»ÂäÁË£¬³ýÁËÆíµ»Ìû×Ó£¬¼¸ºõ¿´²»µ½ÓмÛÖµµÄÌû×Ó
ÒѾÓÐ15È˻ظ´
ÃæÉϵÄË®ºÜÉî
ÒѾÓÐ18È˻ظ´
¹úÉç¿ÆÍ¨Ñ¶ÆÀÉó
ÒѾÓÐ5È˻ظ´
5¸ö%2F£¬·Ç¹Ì¶¨¶Î22¸ö×Öĸ
ÒѾÓÐ9È˻ظ´
ÉúÃü¿ÚC13ÃæÉÏ»áÆÀʱ¼ä
ÒѾÓÐ11È˻ظ´
ÄÚÐÄØÑ·¦
ÒѾÓÐ16È˻ظ´
ÉúÃü¿ÚÃæÉÏ»áÆÀ½áÊøÁËÂð´ó¼ÒÓÐÖªµÀ½á¹ûÂð£¿ÏÖÔÚ»¹Ã»Óнá¹ûÕý³£²»£¿
ÒѾÓÐ9È˻ظ´
ͶӢÎÄÆÚ¿¯ÈçºÎ²éÖØ
ÒѾÓÐ6È˻ظ´
²»ÒªÔÙÊý¹ú×ÔÈ»ÉêÇëÊéµÄ filecode µÄ·Ö¸ô·û¸öÊýÁË
ÒѾÓÐ21È˻ظ´
²®°·Éϼ׻ùÇóÖú
ÒѾÓÐ7È˻ظ´
hfxfroi
гæ (³õÈëÎÄ̳)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 1
- Ìû×Ó: 5
- ÔÚÏß: 2.6Сʱ
- ³æºÅ: 4246554
- ×¢²á: 2015-11-25
- רҵ: ´Å¹²Õñ³ÉÏñ¼¼ÊõÓëÔìÓ°¼Á
|
char sheet = ' '; if (residue.GetSheet() != 0) sheet = 'A' + (residue.GetSheet() - 1) % 26; string NHO[2], ONH[2]; const HBond* acceptors = residue.Acceptor(); const HBond* donors = residue.Donor(); for (uint32 i = 0; i < 2; ++i) { NHO = ONH = "0, 0.0"; if (acceptors.residue != nullptr) { int32 d = acceptors.residue->GetNumber() - residue.GetNumber(); NHO = (boost::format("%d,%3.1f" % d % acceptors.energy).str();} if (donors.residue != nullptr) { int32 d = donors.residue->GetNumber() - residue.GetNumber(); ONH = (boost::format("%d,%3.1f" % d % donors.energy).str();} } |
2Â¥2017-03-03 10:35:53











% d % acceptors.energy).str();
»Ø¸´´ËÂ¥
10