<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,Paul:<br> You are right. The code seems just out put the u in another ix,iy,iz,le way in spectral data, not what we expected as ix,iy,iz, where ix(max)=(nelx-1)*lx1+1. So is there any better way to output the data ready for the energy spectrum and two-point correlation already exists?<br><br>Xianbei<br><br> <br></div><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2014-06-02 08:22:55, nek5000-users@lists.mcs.anl.gov wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<style type="text/css" id="owaParaStyle"></style>
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div><br>
</div>
<div>Hi Xianbei,</div>
<div><br>
</div>
It should be eg.
<div><br>
</div>
<div>However, note that it's really not as simple as this....You'll need to understand</div>
<div>where your data resides, etc.</div>
<div><br>
</div>
<div>I think this code example is quite dated and definitely not tested as it is not</div>
<div>part of the standard source.</div>
<div><br>
</div>
<div>Paul</div>
<div><br>
</div>
<div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF702166" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> <a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov">nek5000-users-bounces@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov">nek5000-users-bounces@lists.mcs.anl.gov</a>] on behalf of <a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>]<br>
<b>Sent:</b> Monday, June 02, 2014 12:46 AM<br>
<b>To:</b> Nek5000<br>
<b>Subject:</b> [Nek5000-users] question on subroutine sem2lex<br>
</font><br>
</div>
<div></div>
<div>
<div style="line-height:1.7; color:#000000; font-size:14px; font-family:Arial">
<div>Hi,all:<br>
In the parallel version of sem2lex, there is a part of code wrote as following:<br>
if (gllnid(eg).eq.nid) then ! element eg is on this processor<br>
eg = eg+1 <br>
le = gllel(ge) ! le is local element number<br>
do iz=1,nz1<br>
do iy=1,ny1<br>
do ix=1,nx1<br>
<br>
However, ge doesn't appear anywhere except here,(le=gllel(ge)), so is this should be "le=gllel(eg)"? Or just my misunderstanding?<br>
<br>
Xianbei<br>
</div>
</div>
<br>
<br>
<span title="neteasefooter"><span id="netease_mail_footer">
<div id="netease_mail_footer">
<div style="border-top:#CCCCCC 1px solid; padding:10px 5px; font-size:12px; color:#666; line-height:22px">
来自网易手机号码邮箱<a id="mobile_set" href="http://shouji.163.com" style="color:#0000FF" target="_blank">了解更多</a></div>
</div>
</span></span></div>
</div>
</div>
</div>
</div>
</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"><div id="netease_mail_footer"><div style="border-top:#CCCCCC 1px solid;padding:10px 5px;font-size:12px;color:#666;line-height:22px">来自网易手机号码邮箱<a id="mobile_set" sys="1" log=1 logid="free_sms_20120504" href="http://shouji.163.com" target="_blank" style="color:#0000FF">了解更多</a></div></div>
</span></span>