<br><br><div class="gmail_quote">On Wed, Apr 2, 2008 at 11:47 AM, Moreland, Kenneth &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Levent,<br>
<br>
I think I tracked down the problem. &nbsp;It appears that the Gradient and Gradient Magnitude filters pay no attention to the Select Input Scalars parameter. &nbsp;I&#39;m dumfounded about why no one else has run into this problem. &nbsp;I don&#39;t want to get into details about the issues, but you can read about them on the bug tracker.<br>

<br>
 &nbsp;<a href="http://www.paraview.org/Bug/view.php?id=6706" target="_blank">http://www.paraview.org/Bug/view.php?id=6706</a><br>
<br>
Right now, the workarounds are kind of crummy. &nbsp;Since the image gradient filters work on the active scalars, you can get around the problem by setting some active scalars in your file. &nbsp;For example, if you wanted to take the gradient of the RT array in iter0.vti, you could achieve this by changing the Scalars parameter of the PointData tag to be RT:<br>

<br>
 &nbsp;&lt;PointData Scalars=&quot;RT&quot;&gt;<br>
<br>
Unfortunately, that means you need to change the file every time you want to change the variable you want to perform the gradient on. &nbsp;You could also create a separate file for each variable, but I don&#39;t know if that is more cumbersome for you.</blockquote>
<div><br>Thanks for tracking this down Ken. It is cumbersome as you said but this method works(around). <br><br>Levent<br>&nbsp;</div></div><br>-- <br>Server Levent Yilmaz<br>Mechanical Engineering<br>University of Pittsburgh