<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Oooh. Mesh quality. I knew I'd seen it somewhere else too. thanks. I'll
note that for next time.<br>
<br>
Ken - the reason was I wanted to do integration through cells and also
add some mass averaging. I was going to reimplement the wheel and break
the integrate filters into cell-area, then flow, etc etc as separate
filters but ended up using the IntegrateFlowThroughSurface 'as is' and
wrapping it inside another filter.<br>
<br>
JB<br>
<blockquote cite="mid:C5A34366.72BA%25kmorel@sandia.gov" type="cite">
<title>Re: [Paraview] Compute cell area</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">I didn’t think of that filter. Thanks, Clint.<br>
<br>
-Ken<br>
<br>
<br>
On 1/26/09 10:34 AM, "Clinton Stimpson" <<a moz-do-not-send="true"
href="clinton@elemtech.com">clinton@elemtech.com</a>> wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
<br>
What about the "Mesh Quality" filter? You can select "Area" for<br>
triangle and quadrilateral quality. You get a cell data array with<br>
results for each cell.<br>
Clint<br>
<br>
Moreland, Kenneth wrote:<br>
> John,<br>
><br>
> Thanks. I already look into both of those filters. Although both<br>
> filters internally compute polygon area, I did not see a way to get<br>
> the per-cell area (written out to a cell data array) from them.
When<br>
> I run vtkIntegrateAttributes, I get a single value back that is the<br>
> total area of all the cells. I also did not see a clear way to get<br>
> the data from vtkIntegrateFlowSurface. Am I missing something?<br>
><br>
> -Ken<br>
><br>
><br>
> On 1/23/09 4:13 PM, "John Biddiscombe" <<a
moz-do-not-send="true" href="biddisco@cscs.ch">biddisco@cscs.ch</a>>
wrote:<br>
><br>
> Ken<br>
><br>
> I started writing this<br>
> <a moz-do-not-send="true"
href="https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx">https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkCSCSCommon/vtkCellPropertiesFilter.cxx</a><br>
> header is also there.<br>
><br>
> But although it does the area of triangulted data ok, I never
used<br>
> it as I ended up using the vtkIntegrateAttributes (this does
areas<br>
> for all 2D cell types) filter and IntegrateFlowThroughSurface<br>
><br>
> JB<br>
><br>
> Compute cell area Is there an easy way to compute the area
of<br>
> a 2D cell?<br>
> <br>
> -Ken<br>
> <br>
> **** Kenneth Moreland<br>
> *** Sandia National Laboratories<br>
> *********** <br>
> *** *** *** email: <a moz-do-not-send="true"
href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
> ** *** ** phone: (505) 844-8919<br>
> *** web: <a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
> <<a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><br>
> <<a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><br>
> <br>
> <br>
><br>
>
------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> ParaView mailing list<br>
> <a moz-do-not-send="true" href="ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> <br>
><br>
><br>
><br>
><br>
> **** Kenneth Moreland<br>
> *** Sandia National Laboratories<br>
> *********** <br>
> *** *** *** email: <a moz-do-not-send="true"
href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
> ** *** ** phone: (505) 844-8919<br>
> *** web: <a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
> <<a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>><br>
><br>
>
------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> ParaView mailing list<br>
> <a moz-do-not-send="true" href="ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> <br>
<br>
_______________________________________________<br>
ParaView mailing list<br>
<a moz-do-not-send="true" href="ParaView@paraview.org">ParaView@paraview.org</a><br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
</span></font><font size="1"><font face="Monaco, Courier New"><span
style="font-size: 7.5pt;"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a moz-do-not-send="true" href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
</span></font>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">--
John Biddiscombe, email:biddisco @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/">http://www.cscs.ch/</a>
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82</pre>
</body>
</html>