<div dir="ltr">Dear QE users,<div><br></div><div>I need the matrix representation for the symmetry operators in the basis of the QE bands, so I'm checking how to edit the file sym_band.f90 for this purpose.</div><div><br></div><div>The SUBROUTINE find_band_sym_so already calculates the trace as (loops are implied)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">trace(iclass,igroup)=trace(iclass,igroup) + DOT_PRODUCT (evc(:,ibnd),evcr(:,ibnd))</blockquote><div><br></div><div>So, at first I imagined that a simple change would allow me to get the full matrices as (loops are implied)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">matrep(iclass,igroup,i,j) = DOT_PRODUCT (evc(:,ibnd),evcr(:,jbnd))</blockquote><div><br></div><div>But I've noticed that the traces are "wrong". If I print as</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">PRINT *, 'Class:', name_class_so(iclass)<br>PRINT *, 'Trace:', trace(iclass,igroup)</blockquote><div>Both the trace and the matrices (matrep) above don't match the expected results. For instance, all double group bar-irreps are showing trace = 0. </div><div><br></div><div>In the second part of this subroutine, where the code identifies the symmetry representations, I don't understand some of the IFs there, and the meaning of the variable "shift". So I guess I'm misreading something. </div><div><br></div><div>Could someone help me understand what I am doing wrong?</div><div><br></div><div>Best,<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial"><div>--<br>Gerson J. Ferreira</div><div>Prof. Dr. @ InFis - UFU </div><div>----------------------------------------------</div><div style="font-family:Arial,Helvetica,sans-serif"><font face="arial"><a href="http://gjferreira.wordpress.com/" target="_blank">gjferreira.wordpress.com</a></font><br></div><div><font size="2" face="arial">Institute of Physics</font></div><div>Federal University of Uberlândia, Brazil</div><div style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:arial">----------------------------------------------</span></div></div></div></div></div></div></div></div></div>