<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5583" name=GENERATOR><LINK 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}" 
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV>Dear&nbsp;Pwscf&nbsp;users, </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Recently I found an effective way on input defining a 
based-centered monoclinic cell.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In fact, we could&nbsp;&nbsp;change the setting (ibrav=13) in the 
flib/latgen.f90 from </DIV>
<DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sen&nbsp;=&nbsp;sqrt(&nbsp;1.d0&nbsp;-&nbsp;celldm(4)&nbsp;**&nbsp;2&nbsp;)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(1)&nbsp;=&nbsp;0.5&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(3)&nbsp;=-a1(1)&nbsp;*&nbsp;celldm(3)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(1)&nbsp;=&nbsp;celldm(1)&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;celldm(4)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(2)&nbsp;=&nbsp;celldm(1)&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;sen</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(1)&nbsp;=&nbsp;a1(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#ff0000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(3)&nbsp;=-a1(3)</FONT></EM></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>to </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT 
color=#0000ff><FONT>&nbsp;<EM>&nbsp;&nbsp;&nbsp;&nbsp;sen&nbsp;=&nbsp;sqrt(&nbsp;1.d0&nbsp;-&nbsp;celldm(4)&nbsp;**&nbsp;2&nbsp;)</EM></FONT></FONT></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(2)&nbsp;=&nbsp;0.5&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(3)&nbsp;=-0.5&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(2)&nbsp;=&nbsp;0.5&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(3)&nbsp;=&nbsp;0.5&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(1)&nbsp;=&nbsp;celldm(3)&nbsp;*&nbsp;sen&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV>
<DIV><EM><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(2)&nbsp;=&nbsp;celldm(3)&nbsp;*&nbsp;celldm(4)&nbsp;*&nbsp;celldm(1)</FONT></EM></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>which corresponding with the defining form in the MS. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I have tested it and found this way of defining could give us a right 
structure.</DIV>
<DIV>&nbsp;</DIV>
<DIV>For some stuctures which have problems in input defining the cell, I think 
we could resolve it in the same way </DIV>
<DIV>"change the defining form in latgen.f90&nbsp;to&nbsp;a new&nbsp;one which 
corresponding with that in the MS"</DIV>
<DIV>&nbsp;</DIV>
<DIV>Good Luck!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Yinwei Li<FONT face=Verdana color=#c0c0c0 size=2>2009-</FONT></DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>Y03-07 
body&nbsp;centered&nbsp;tetragonal </FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sen&nbsp;=&nbsp;sqrt(&nbsp;1.d0&nbsp;-&nbsp;celldm(4)&nbsp;**&nbsp;2&nbsp;)</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(1)&nbsp;=&nbsp;0.5&nbsp;*&nbsp;celldm(1)</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a1(3)&nbsp;=-a1(1)&nbsp;*&nbsp;celldm(3)</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(1)&nbsp;=&nbsp;celldm(1)&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;celldm(4)</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a2(2)&nbsp;=&nbsp;celldm(1)&nbsp;*&nbsp;celldm(2)&nbsp;*&nbsp;sen</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(1)&nbsp;=&nbsp;a1(1)</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a3(3)&nbsp;=-a1(3)</DIV>yinwei_li</SPAN> 
</FONT></DIV></FONT></BODY></HTML>