It may be easiest just to link to the VTK libraries and create vtkDataObjects and then use the vtkXMLMultiBlockDataWriter.<br><br>Andy<br><br><div class="gmail_quote">On Tue, Jul 26, 2011 at 11:21 AM, j s <span dir="ltr"><<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thank you that worked. Is there a document available for the<br>
multi-block format? I remember when I implemented in this on the<br>
past, I relied exclusively on email correspondence in order to get my<br>
output writer correct.<br>
<br>
Thanks<br>
<br>
<br>
<br>
<br>
On Mon, Jul 25, 2011 at 1:15 PM, Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>> wrote:<br>
> I think the best way to proceed would be to use the extract blocks filter to<br>
> extract all of the blocks that have the desired fields for your calculator.<br>
> You may want to group the unstructured grids with the same field data into a<br>
> vtkMultiPieceDataSet to make it easier to extract the blocks that you want.<br>
><br>
> Andy<br>
><br>
> On Mon, Jul 25, 2011 at 2:10 PM, j s <<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I am currently using the multiblock dataset (vtm file) format to have<br>
>> multiple unstructured regions (vtu files). Not all of the fields are<br>
>> available in all of the regions. When I try to use a calculator to<br>
>> calculate a field, I am getting errors for fields which don't exist in<br>
>> each region.<br>
>><br>
>> So when I try to calculate E = Electric_Field_x * iHat +<br>
>> Electric_Field_y *jHat, it complains about missing Acceptors.<br>
>><br>
>> What is the best possible way to avoid these problems? Is there a<br>
>> preferred file format? The whole reason I selected the multiblock<br>
>> format, was so that I don't have to store all the fields on all<br>
>> regions.<br>
>><br>
>> This is paraview 3.3. for Ubuntu Linux<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<br>
>> <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:<br>
>> <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>
><br>
</blockquote></div><br>