<br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 3:04 AM, <span dir="ltr"><<a href="mailto:Alexander.Siemers@skf.com">Alexander.Siemers@skf.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font face="sans-serif" size="2">Co-processing might or might not be what
I was looking for!? </font>
<br>
<br><font face="sans-serif" size="2">However, I do not fully understand the
functionality. Some questions that someone might be able to answer:</font>
<br><font face="sans-serif" size="2">1. Do I need to link with the VTK libraries?
This seems a bit heavy since I just want to send some data and commands
to Paraview.</font>
<br></blockquote><div><br>In some ways you can think of ParaView as an abstraction for using VTK in an easier fashion in parallel. Also ParaView is responsible for the client-server communication among other things. What do you want ParaView to do that it wouldn't use VTK for? There has been some work on only including the necessary parts of the VTK library when doing coprocessing when linking statically. If you're interested in that I can get you more information.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font face="sans-serif" size="2">2. It seems that I need to setup Paraview
before using co-processing, i.e., load a simulation result that is similar
to the data I want to analyze, correct? This is not very flexible. I would
like to send commands to Paraview to perform the setup. </font>
<br></blockquote><div><br>You can hard code a ParaView python pipeline script or C++ pipeline script. Using the coprocessing script generator plugin is designed more for analysts that aren't that comfortable coding and would rather set up their problem through a gui.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font face="sans-serif" size="2">3. I would also like to read the current
Paraview state (setup) through the interface and store it, is this possible?
</font>
<br></blockquote><div>Maybe I'm not sure what you mean about this but this is what the coprocessing script generator plugin is for. I imagine the ParaView state could be used for this but there'd probably have to be some extra information passed in.<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font face="sans-serif" size="2">4. I do not understand "</font><tt><font size="3">coprocessing
library determines if any coprocessing needs to be performed at time step
i</font></tt><font face="sans-serif" size="2">", how can the library
determine anything that is related to my data?</font></blockquote><div>During the coprocessing script generation the user must enter how often data is to be outputted (e.g. what time steps). More complex logic could be added (e.g. when total energy hits a certain value, when velocity is in a specified range) but that would be rather difficult to do in a generic way. The vtkCPPipeline::RequestDataDescription method is the one responsible for determining if a pipeline wants to do coprocessing during a specific time step.<br>
<br>Hope this helps.<br>Andy<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br><font face="sans-serif" size="2">Thanks </font>
<br><font face="sans-serif" size="2">Alexander</font>
<br><font face="sans-serif" size="2"> </font>
<br><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>