[Paraview] Some questions about Catalyst Live Visualization
Andy Bauer
andy.bauer at kitware.com
Sat Oct 31 09:17:50 EDT 2015
Hi Adam,
In my opinion it is a bug. My thinking is this, if there's no Catalyst work
to do then the performance penalty for using Catalyst should be negligible.
The VTK grid should only be generated if there's Catalyst work to do (this
will usually be quite fast but certainly may not be negligible) and if
there aren't any outputs (e.g. images, data extracts or to Catalyst Live
via a connected client) then RequestDataDescription() should return that
there's no work to do so that no cycles are wasted generating the VTK
object. If you don't mind wasting cycles, I can always have you compute
some bitcoins for me instead :)
Additionally, all of this should be automated (and can be) such that it
just works for users without having to modify the Python scripts for
something as simple as this.
Best regards,
Andy
On Fri, Oct 30, 2015 at 1:47 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:
> Hi Adam,
>
> On Fri, Oct 30, 2015 at 10:20 AM, Adam Lyon <lyon at fnal.gov> wrote:
>
>> I'd like this code to only run if a ParaView client is actually connected
>> (because if there's no client connected then it's making VTK objects that
>> no human is looking at, so it's wasting time). So I'd like to know if
>> there's a way that my code could ask the adapter if a client is connected.
>> I hope I explained that better - let me know if not.
>>
>
> Live was added as a way to support catalyst processing: the user can
> examine down-sampled data produced by the simulation but also modify the
> processing pipeline while the simulation is running. The processing
> pipeline is mainly used to save data/images from the simulation. So I don't
> think we considered your use case. Looking at the code it does not seem to
> be a way to query if there is a connection to ParaView Live. I don't think
> it would be too difficult to add it though.
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151031/2a3171f6/attachment.html>
More information about the ParaView
mailing list