<div dir="ltr">The resample to data set filter does work in parallel but the result will only be on process 0. Each process sends its values to process 0 so this is not an algorithm that will scale well.<br><br>Regards,<br>
Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 11:31 AM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>
<div>
<div>Note that this will only work when running in serial. I'm sure that in parallel this will not sample correctly. That would require communication to resolve uneven distributions in the unstructured grid. I don't think anyone has written something like that
 yet.</div>
</div>
</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">

<span style="font-weight:bold">From: </span>David E DeMarle <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 10, 2014 7:17 AM<br>
<span style="font-weight:bold">To: </span>"Kares, Robert J. (LANL)" <<a href="mailto:rjk@lanl.gov" target="_blank">rjk@lanl.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>

<span style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] Resampling to a uniform grid<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">You could start with Sources->Wavelet and reposition it as needed, but I'ld use a python programmable source. Attached is a state file to demonstrate.
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
<br>
<br>
<div class="gmail_quote">On Wed, Jul 9, 2014 at 6:06 PM, Kares, Robert J <span dir="ltr">
<<a href="mailto:rjk@lanl.gov" target="_blank">rjk@lanl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Folks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I would like to resample a scalar field defined on an unstructured<u></u><u></u></p>
<p class="MsoNormal">grid in 3D onto a uniform rectangular 3D grid with specified logical and
<u></u><u></u></p>
<p class="MsoNormal">physical dimensions.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">It seems from the ParaView filters documentation that this can<u></u><u></u></p>
<p class="MsoNormal">somehow be done using the Resample With Dataset filter. It appears<u></u><u></u></p>
<p class="MsoNormal">to me that the procedure involves generating a uniform rectangular
<u></u><u></u></p>
<p class="MsoNormal">grid in some fashion and then feeding it to the Resample With Dataset<u></u><u></u></p>
<p class="MsoNormal">filter along with the unstructured grid containing the scalar to be
<u></u><u></u></p>
<p class="MsoNormal">resampled.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">However, I am confused about just how to make the rectangular grid of<u></u><u></u></p>
<p class="MsoNormal">specified size in the first place and about how to use it with the Resample With Dataset<u></u><u></u></p>
<p class="MsoNormal">filter.  <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Could someone explain to me how to do this ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">                                       --Bob <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div></div></span>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>