<div dir="auto">Andrew, please post further comments to the mailing list.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 17, 2018, 2:07 PM Andrew E. Slaughter <<a href="mailto:andrew.slaughter@inl.gov">andrew.slaughter@inl.gov</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The interpolation for point data is working great, I am working on making my script more robust before posting by including cell and global data to the interpolation. I also am interpolating all active data into a vtkMultiBlockDataSetAlgorithm so the end product will behave similarly as a vtkExodusIIReader object.<br>
<br>
Anyway, I can't get the cell data to interpolate. The point data is working fine (change the variable to 'point') to show this result.<br>
<br>
I was hoping you could take a look and see what I am missing, I images it is something to do with the vtkPointInterpolator, but I can't seem to find the solution.<br>
<br>
Thanks,<br>
Andrew<br>
<br>
<br>
On 12/10/18, 8:46 AM, "Andrew E. Slaughter" <<a href="mailto:andrew.slaughter@inl.gov" target="_blank" rel="noreferrer">andrew.slaughter@inl.gov</a>> wrote:<br>
<br>
    Feel free to add this an example with the data, when I get the python version fixed up I will add it to the examples wiki as well.<br>
<br>
    Thank you for your help.<br>
<br>
    - Andrew<br>
<br>
    On 12/5/18, 5:20 PM, "Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com" target="_blank" rel="noreferrer">bill.lorensen@gmail.com</a>> wrote:<br>
<br>
        I found the problems with your script.<br>
<br>
        vtkPointInterpolator: The point arrays will not be interpolated unless<br>
        PassPointArrays is off. And the source and input data must add the<br>
        field data as the active scalar.<br>
        vtkInterpolateDataSetAttibutes does not interpolate field data. To<br>
        interpolate field data each input must add the field data as the<br>
        active scalar.<br>
<br>
        Neither of these are obvious. I have attached a c++ example that is<br>
        based on your script. I changed a lot of the names to help me debug<br>
        the problems.<br>
<br>
        I would like to ass this c++ code as an example, once I make a few<br>
        more changes. Is that OK with you? I would also need to add your<br>
        datasets.<br>
<br>
        Bill<br>
        On Tue, Dec 4, 2018 at 3:40 PM Andrew E. Slaughter<br>
        <<a href="mailto:andrew.slaughter@inl.gov" target="_blank" rel="noreferrer">andrew.slaughter@inl.gov</a>> wrote:<br>
        ><br>
        > Thank you, feel free to email me directly if you need anything more from my end.<br>
        ><br>
        ><br>
        ><br>
        > From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank" rel="noreferrer">bill.lorensen@gmail.com</a>><br>
        > Date: Monday, December 3, 2018 at 7:20 PM<br>
        > To: "Andrew E. Slaughter" <<a href="mailto:andrew.slaughter@inl.gov" target="_blank" rel="noreferrer">andrew.slaughter@inl.gov</a>><br>
        > Cc: VTK Users <<a href="mailto:vtkusers@vtk.org" target="_blank" rel="noreferrer">vtkusers@vtk.org</a>><br>
        > Subject: Re: [vtkusers] Help with vtkInterpolateDataSetAttributes<br>
        ><br>
        ><br>
        ><br>
        > I suspect that vtkInterpolateDataSetAttributes may be buggy. The are no tests that interpolate scalar data. I'm looking into it.<br>
        ><br>
        ><br>
        ><br>
        > On Thu, Nov 29, 2018, 8:13 AM Andrew E. Slaughter via vtkusers <<a href="mailto:vtkusers@public.kitware.com" target="_blank" rel="noreferrer">vtkusers@public.kitware.com</a> wrote:<br>
        ><br>
        > I am attempting to interpolate between two ExodusII (vtkExodusIIReader) results using the vtkInterpolateDataSetAttributes, but am having trouble getting it to work. I was able to perform an interpolation that mimics the behavior with calls to vtkAbstractArray::InterpolateTuple, but this doesn’t seem like the correct solution.<br>
        ><br>
        ><br>
        ><br>
        > I have attached a script that show what I am trying to do, including what is working and what is not. I know that for this problem I could use vtkTemporalInterpolator, but for the actual problem I am trying to solve it isn’t appropriate. I am using python bindings with VTK7.1 on MacOS.<br>
        ><br>
        ><br>
        ><br>
        > I would appreciate any help I can get making this work.<br>
        ><br>
        ><br>
        ><br>
        > Thanks,<br>
        ><br>
        > Andrew<br>
        ><br>
        ><br>
        ><br>
        ><br>
        ><br>
        > _______________________________________________<br>
        > Powered by <a href="http://www.kitware.com" rel="noreferrer noreferrer" target="_blank">www.kitware.com</a><br>
        ><br>
        > Visit other Kitware open-source projects at <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=E2eeqfO0l7aGQzYt_-DT6zLV6ALe0sCfFm6z4kfA2vE&e=" rel="noreferrer noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=E2eeqfO0l7aGQzYt_-DT6zLV6ALe0sCfFm6z4kfA2vE&e=</a><br>
        ><br>
        > Please keep messages on-topic and check the VTK FAQ at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=cZQZE8xkatSI9xZ8-19BijAzdZZhpEzqBD5JiCsyQZk&e=" rel="noreferrer noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=cZQZE8xkatSI9xZ8-19BijAzdZZhpEzqBD5JiCsyQZk&e=</a><br>
        ><br>
        > Search the list archives at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=4EuYM4upr3Tp4Rakv_UjS9KZk1TyOLER92KgxprLfv4&e=" rel="noreferrer noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=4EuYM4upr3Tp4Rakv_UjS9KZk1TyOLER92KgxprLfv4&e=</a><br>
        ><br>
        > Follow this link to subscribe/unsubscribe:<br>
        > <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__public.kitware.com_mailman_listinfo_vtkusers&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=smX4duzcBydAraDbmtpSZRONXDLCSc4MycG_F_Jw5I0&e=" rel="noreferrer noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__public.kitware.com_mailman_listinfo_vtkusers&d=DwIFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=CZ-fngNdgJgN52g8AviZCojUB3AwTUttziM040_wM1g&s=smX4duzcBydAraDbmtpSZRONXDLCSc4MycG_F_Jw5I0&e=</a><br>
<br>
<br>
<br>
        -- <br>
        Unpaid intern in BillsParadise at noware dot com<br>
<br>
<br>
<br>
<br>
</blockquote></div>