[Paraview] Catalyst example on dynamic producer setup
Andy Bauer
andy.bauer at kitware.com
Wed Aug 17 21:23:06 EDT 2016
Hi,
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.
Cheers,
Andy
On Wed, Aug 17, 2016 at 3:07 PM, Luigi Calori <l.calori at cineca.it> wrote:
> Hi everybody: we are starting instrumenting one Fortran simulation code
> with Paraview catalyst.
> We have started from the fortran full example as our grid is basically a
> 3d rectilinear grid that we are currently
> handling like imagedata.
> Our code has a quite high number of scalar fields ( 50 ) and a single
> velocity field.
> 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.
> For visualization we would just need the vector field and one or two of
> the scalar fields.
> 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.
> 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.
>
> Is it at all possible? any hints or better example code.
>
> Sorry if dumb question, I' m a newbie in this
>
> Thanks in advance.
>
> --
> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160817/8ce0288a/attachment.html>
More information about the ParaView
mailing list