<div class="gmail_quote">On Mon, Feb 8, 2010 at 7:38 PM, Nico Schlömer <span dir="ltr"><<a href="mailto:nico.schloemer@gmail.com">nico.schloemer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Oh, okay, so if I understand correctly FieldData lets me add random<br>
data to what I have in the file anyway. Is that right?<br>
<br>
Are there other ways of including more data into the XML-style files?<br>
I was for example imagining something like<br>
<br>
<field="myparameter" name="kappa" type="double" value="3.5427" /><br>
<br>
for storing parameters connected to the solution of the PDE. I may<br>
want to store more heavy data about the grid, for example, too.<br>
<br>
Well, I guess the problem is that I'm somewhat oblivious as to what<br>
VT* can and cannot do for me here. E.g., I can't say now if putting<br>
all relevant parameter data in one (custom format) file, and the<br>
solution itself in VT* format in another is a sensible thing to do.<br>
<br>
Cheers,<br>
<font color="#888888">Nico<br>
</font><div><div></div><div class="h5"></div></div></blockquote></div><br><div>Yep, you got it right. Take for example .vtp (polydata). You can store </div><div>1) a list of points</div><div>2) data associated with each point (POINTDATA) (as an array the same length as the point array)</div>
<div>3) a list of cells (0, 1, or 2D - i.e. vertices, lines, or polygons)</div><div>4) data associated with each cell (CELLDATA) (as an array the same length as the cell array)</div><div>5) anything you want (including pairs such as kappa=3.5) (FIELDDATA)</div>
<div><br></div><div>The difference from .vtp to .vtu and .vts is simply how the POINTDATA is stored internally.</div><div><br clear="all">Thanks,<br><br>David<br></div>