<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Jean, and Will,</div>
<div><br>
</div>
<div>Thanks for the help! I think I might just wait until that patch is released. It sounds like that is not too far into the future, so that's the easiest way for me to go. :)</div>
<div><br>
</div>
<div>Cheers, Carola</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<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>Will Schroeder <<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, March 16, 2017 at 05:37<br>
<span style="font-weight:bold">To: </span>Favre Jean <<a href="mailto:jfavre@cscs.ch">jfavre@cscs.ch</a>><br>
<span style="font-weight:bold">Cc: </span>Carola Ellinger <<a href="mailto:cellinger@lanl.gov">cellinger@lanl.gov</a>>, "<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Paraview] Help on SPHVolumeInterpolator<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Carola-
<div><br>
</div>
<div>What Jean said :-) The patch is waiting on me and I am waiting on deadlines which will be clearing up shortly.</div>
<div><br>
</div>
<div>If you haven't seen these yet, it's worth reviewing these articles:</div>
<div><a href="https://blog.kitware.com/point-and-smoothed-particle-hydrodynamics-sph-interpolation-in-vtk/">https://blog.kitware.com/point-and-smoothed-particle-hydrodynamics-sph-interpolation-in-vtk/</a><br>
</div>
<div><a href="https://blog.kitware.com/point-and-smoothed-particle-hydrodynamics-sph-interpolation-in-paraview/">https://blog.kitware.com/point-and-smoothed-particle-hydrodynamics-sph-interpolation-in-paraview/</a><br>
</div>
<div><br>
</div>
<div>Best,<br>
W</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Mar 15, 2017 at 4:21 PM, Favre Jean <span dir="ltr">
<<a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</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 style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Carola<br>
<br>
the answer is "soon". ParaView's GUI already enables the setting of the so-called Cuttoff Array. In the GUI (I am assuming you use version 5.3), there should be a setting for the Density and the Mass arrays. And just below it, is the 3rd setting for the "smooting
length" array. Unfortunately, we are waiting on a patch to the underlying VTK class vtkSPHInterpolator.cxx which currently has a small error preventing the correct setting.<br>
<br>
By the way, I strongly suggest that you use a version of ParaView compiled with OpenMP, or TBB. You will see great speed-ups on a multi-core node, since the Point Interpolators (Line, Plane, Volume) are all parallelized on-the-node.<br>
<div><br>
Until the patch is merged into VTK, and ParaView picks up the change, you will be limited to setting the Density and Mass arrays. (Unless you compile your own ParaView, and I can tell you how to edit the source code to enable the smoothing array.)<br>
<br>
<div class="m_94584097950802540BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="m_94584097950802540PlainText">-----------------<br>
Jean/CSCS</div>
</span></font></div>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_94584097950802540divRpF7557" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> ParaView [<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>] on behalf of Ellinger, Carola
[<a href="mailto:cellinger@lanl.gov" target="_blank">cellinger@lanl.gov</a>]<br>
<b>Sent:</b> Wednesday, March 15, 2017 6:47 PM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><span class=""><br>
<b>Subject:</b> [Paraview] Help on SPHVolumeInterpolator<br>
</span></font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div>Hello,</div>
<div><br>
</div>
<div>I have astrophysical SPH (smoothed particle hydrodynamics) data that I want to interpolate for visualization in ParaView. I've found the SPHVolumeInterpolator filter to do that, but can this filter handle non-constant smoothing lengths of SPH particles
for the interpolation? If so, how is this set? Due to the nature of the object I'm trying to visualize (a star), the smoothing lengths varies over a few orders of magnitude.</div>
<div><br>
</div>
<div>Thank you for any help,</div>
<div><br>
</div>
<div>Carola</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>William J. Schroeder, PhD<br>
Kitware, Inc. - Building the World's Technical Computing Software<br>
28 Corporate Drive<br>
Clifton Park, NY 12065<br>
<a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
(518) 881-4902</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>