<div dir="ltr"><div><div><div>Hi,<br><br></div>This is possible but at this point requires custom coding the Python script to specify which fields are needed. This should be done during the RequestDataDescription() call. You can use vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() methods to specify what's needed in the Python script and then create the requested VTK data arrays in the adaptor after that. There are plans to allow the GUI script generation to specify which data arrays are needed but no concrete date (likely over a year unless there's significant support for the development effort) for when that functionality will be available. <br><br></div>Cheers,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori <span dir="ltr"><<a href="mailto:l.calori@cineca.it" target="_blank">l.calori@cineca.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody: we are starting instrumenting one Fortran simulation code with Paraview catalyst.<br>
We have started from the fortran full example as our grid is basically a 3d rectilinear grid that we are currently<br>
handling like imagedata.<br>
Our code has a quite high number of scalar fields ( 50 ) and a single velocity field.<br>
If we use a single input and a single data producer with all the field inside, the Paraview client slows down, probably due to memory usage or transfer.<br>
For visualization we would just need the vector field and one or two of the scalar fields.<br>
It would really good to be able to dinamically ( possibly each time step) being able to select which of the available scalar variable pass as scalar field.<br>
In the examples the c++ adaptor code add fields in a fixed way. We would like to pass information from python ( and maybe from Paraview GUI ) to the adaptor code to dynamically change it's behaviour.<br>
<br>
Is it at all possible? any hints or better example code.<br>
<br>
Sorry if dumb question, I' m a newbie in this<br>
<br>
Thanks in advance.<br>
<br>
-- <br>
Luigi Calori<br>
SuperComputing Applications and Innovation Department<br>
CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY<br>
Tel: <a href="tel:%2B39%20051%206171509" value="+390516171509" target="_blank">+39 051 6171509</a>  Fax: <a href="tel:%2B39%20051%206132198" value="+390516132198" target="_blank">+39 051 6132198</a><br>
<a href="http://hpc.cineca.it" rel="noreferrer" target="_blank">hpc.cineca.it</a><br>
<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/opensou<wbr>rce/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/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
</blockquote></div><br></div>