<div>No algorithm is perfect, if you manage to improve it do not forget to do a merge request. Otherwise, at least providing an example that fails would be appreciated.</div><br><div>kind regards</div><br><div><signature id="local-80497166-1ed1">--<br><span style="font-size:0.9em;color:gray;">Lorenzo Paulatto - Paris<span></span></span></signature></div><div class="gmail_quote_attribution">On May 12 2021, at 3:30 pm, None <west_lifer@163.com> wrote:</div><blockquote><div><div><font style="font-family:Arial">When I use the function "eigen_similarity=.true." in matdyn.in to order phonon dispersions using similarity of eigenvalues, some bugs appear.</font></div><div><font style="font-family:Arial">I found that there exist some errors owing to the sequence of the 3*nat phonon modes at Gamma points, and M-K path. </font></div><div><font style="font-family:Arial">Only the sequence of several points is error, but the values are correct.</font></div><div><font style="font-family:Arial">I draw the phonon spectrum in the pdf. </font><font style="font-family:Arial"><span style="color:rgb(51, 51, 51)"><font style="font-size:13px"><font style="font-family:Arial, sans-serif">Please check the annex.</font></font></span></font></div><div><br></div><div><br></div><div><font style="font-family:Arial">initial codes in matdyn.f90</font></div><div><font style="font-family:Arial">IF (eigen_similarity) THEN</font></div><div><div><font style="font-family:Arial">! ... order phonon dispersions using similarity of eigenvalues</font></div><div><font style="font-family:Arial"> ! ... Courtesy of Takeshi Nishimatsu, IMR, Tohoku University</font></div></div><div><br></div><div><font style="font-family:Arial">phd zhyuwww!</font></div><div><br></div></div><div>_______________________________________________</div><div>developers mailing list</div><div>developers@lists.quantum-espresso.org</div><div>https://lists.quantum-espresso.org/mailman/listinfo/developers</div></blockquote><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/A8BBC982-C296-4DC3-878C-8C5EEDB8FB82@getmailspring.com?me=ca1a67e4&recipient=ZGV2ZWxvcGVyc0BsaXN0cy5xdWFudHVtLWVzcHJlc3NvLm9yZw%3D%3D">