<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank's for the prompt replay, we do
not mind custom code the scripts, It would be good to have usage
code examples<br>
or pointers to open source projects that are using Catalyst in
such a way.<br>
<br>
Any hints will be really appreciated.<br>
<br>
Best regards<br>
Luigi<br>
<br>
<br>
<br>
On 18/08/2016 03:23, Andy Bauer wrote:<br>
</div>
<blockquote
cite="mid:CAMaOp+FKpkNM9sLGS5uzvsf_YKjcRwFGuJD9bYcor-nhORXVdA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="tel:%2B39%20051%206171509" value="+390516171509"
target="_blank">+39 051 6171509</a> Fax: <a
moz-do-not-send="true" href="tel:%2B39%20051%206132198"
value="+390516132198" target="_blank">+39 051 6132198</a><br>
<a moz-do-not-send="true" href="http://hpc.cineca.it"
rel="noreferrer" target="_blank">hpc.cineca.it</a><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" rel="noreferrer"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Luigi Calori
SuperComputing Applications and Innovation Department
CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY
Tel: +39 051 6171509 Fax: +39 051 6132198
hpc.cineca.it
</pre>
</body>
</html>