<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="NL-BE" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi Pietro,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for the quick answer! As I understood it I switched the 1<sup>st</sup> and 3<sup>rd</sup> column of the CELL_PARAMETERS array so that the surface is in the XY plane and not the ZY plane and now the code does
 not give the “</span>Error in routine vloc_of_g (1):<span lang="EN-US">” error, however, the “2D CODE WILL NOT WORK, 2D MATERIAL NOT IN X-Y PLANE!!” error remains… I guess this might indeed be due to the non-orthogonal cell, but I was wondering if it is possible
 to adjust the cell in any way so that it is orthogonal without fundamentally changing the system properties? This might be a very stupid question but I’m still a little bit new in doing calculations on solid state systems, so I don’t know what is and what
 isn’t possible in such a case. My instinct says it might not be physically possible to create an orthogonal cell which maintains the symmetry of the surface, but if it could be possible this would be very useful for me as I also have had other problems which
 would have been resolved if my cell was orthogonal…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Léon Luntadila Lufungula<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PhD student<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">University of Antwerp<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>