{"id":9152,"date":"2010-07-31T02:34:00","date_gmt":"2010-07-31T02:34:00","guid":{"rendered":"http:\/\/melotopia.net\/b\/?p=9152"},"modified":"2010-07-31T02:34:00","modified_gmt":"2010-07-31T02:34:00","slug":"for%ea%b5%ac%eb%ac%b8-%eb%ac%b4%ed%95%9c%eb%a3%a8%ed%94%84","status":"publish","type":"post","link":"http:\/\/melotopia.net\/b\/?p=9152","title":{"rendered":"for\uad6c\ubb38 \ubb34\ud55c\ub8e8\ud504"},"content":{"rendered":"<div class=\"desc\">\n        for\uad6c\ubb38\uc778\ub370 \ubb34\ud55c\ub8e8\ud504\uc5d0 \ube60\uc9c4\ub2e4.<\/p>\n<div class=\"txc-textbox\" style=\"border: 1px solid rgb(254, 254, 184); background-color: rgb(254, 254, 184); padding: 10px;\">\n         for(i=0;i<200;i++){\n         <br \/>\n         printf(&#8220;%d th iteration \\n&#8221;, iteration++);<br \/>\n         <br \/>\n         linmin(band, xi);<\/p>\n<p>         if(2.0*fabs(fret-fp)<ftol*(fabs(fret+fabs(fp)+__EPSILON__))){\n         <br \/>\n         break;<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         fp=NEBpotential(band);<br \/>\n         <br \/>\n         xi = NEBforce(band);<br \/>\n         <br \/>\n         gg=0.0;<br \/>\n         <br \/>\n         dgg=0.0;<br \/>\n         <br \/>\n         for(i=0;i<__DISCRETIZE__+1;i++){\n         <br \/>\n         for(j=0;j<__DIM__;j++){\n         <br \/>\n         gg+=g[i][j]*g[i][j];<br \/>\n         <br \/>\n         dgg = (xi[i][j]+g[i][j])*xi[i][j];<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         gam=gg\/dgg;<br \/>\n         <br \/>\n         if(gg==0.0){<br \/>\n         <br \/>\n         break;<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         for(i=0;i<__DISCRETIZE__+1;i++){\n         <br \/>\n         for(j=0;j<__DIM__;j++){\n         <br \/>\n         g[i][j] = -xi[i][j];<br \/>\n         <br \/>\n         h[i][j] = g[i][j]+gam*h[i][j];<br \/>\n         <br \/>\n         xi[i][j] = h[i][j];<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         }<br \/>\n         <br \/>\n         }\n        <\/div>\n<p>\n        \ubd84\uba85\ud788 \uad04\ud638\ub3c4 \uc798 \ub9c9\uc558\uace0 for\uad6c\ubb38 \uc4f0\ub294 \ubc95\ub3c4 \ub9de\uc558\ub294\ub370&#8230;<br \/>\n        <br \/>\n        \uc5b4\ub514\uc11c \ud2c0\ub9b0\uac70\uc9c0 -_-;<br \/>\n        <br \/>\n        C\uc5b8\uc5b4 \uc4f0\ub2e4\uac00 \uc774\ub7f0 \uacbd\uc6b0\ub294 \ucc98\uc74c\uc774\ub2e4.<\/p>\n<p>        \ucd94\uac00 &#8211; for\ubb38 \uc548\uc5d0 for\ubb38\uc744 \ub610 \uc4f8\ub54c \uc778\ub371\uc2a4\ub85c \ub4e4\uc5b4\uac04 i\ub97c \uac19\uc740\uac78 \uc4f0\ub294 \ubc14\ub78c\uc5d0 \uc774\ub7f0 \ube44\uadf9\uc774 \ubc8c\uc5b4\uc84c\ub2e4. -_-; \ubc14\ubcf4.<br \/>\n        <\/p>\n<div style=\"width:100%;margin-top:30px;clear:both;height:30px\">\n<div style=\"width:31px;float:left;\">\n<a href=\"\/toolbar\/popup\/abuseReport\/?entryId=1981\" onclick=\"window.open(this.href, 'tistoryThisBlogPopup', 'width=550, height=510, toolbar=no, menubar=no, status=no, scrollbars=no'); return false;\"><br \/>\n<img data-recalc-dims=\"1\" decoding=\"async\" alt=\"\uc2e0\uace0\" src=\"https:\/\/i0.wp.com\/t1.daumcdn.net\/tistory_admin\/static\/ico\/ico_spam_report.png\" style=\"border:0\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>for\uad6c\ubb38\uc778\ub370 \ubb34\ud55c\ub8e8\ud504\uc5d0 \ube60\uc9c4\ub2e4. for(i=0;i<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-9152","post","type-post","status-publish","format-standard","hentry","category-12"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8o6gA-2nC","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/9152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9152"}],"version-history":[{"count":0,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=\/wp\/v2\/posts\/9152\/revisions"}],"wp:attachment":[{"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9152"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/melotopia.net\/b\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}