<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top">Dear Manjusha<br><div id="yMail_cursorElementTracker_0.3370064767077565"><br></div><div id="yMail_cursorElementTracker_0.476446732878685"><br></div><div id="yMail_cursorElementTracker_0.2866607643663883">>Can somebody guide me what should be the 'awin' parameter value to</div><div id="yMail_cursorElementTracker_0.15294654434546828">>calculate the macroscopic average of a quantity along [0001] direction</div><div id="yMail_cursorElementTracker_0.7337739886716008"><br></div><div id="yMail_cursorElementTracker_0.1318939975462854">awin is the size of the window for macroscopic averages.</div><div id="yMail_cursorElementTracker_0.1318939975462854">>From the WorkFct_example in QE version 4.3.2, awin = 3.835000000 obtained by first multiplying celldm(1) and  celldm(3) and then dividing the outcome of the multiplication by the number layers in the bulk of the material( ie number of
 layers in slab+number of layers of vacuum).</div><div id="yMail_cursorElementTracker_0.1318939975462854">I hope this helps.</div><div id="yMail_cursorElementTracker_0.1318939975462854"><br></div><div id="yMail_cursorElementTracker_0.1318939975462854"><br></div><div id="yMail_cursorElementTracker_0.1318939975462854">Rita<br><p><a href="https://overview.mail.yahoo.com/mobile/?.src=Android" id="yMail_cursorElementTracker_0.26403669244609773">Sent from Yahoo Mail on Android</a></p></div></td></tr></table>