<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Courier New";
        color:maroon;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:maroon;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>I am a bit
confused.&nbsp; The initial question sounded like a volume rendering problem;
you could not see the result of the mesh quality filter very well.&nbsp; Is the
problem you are reporting that the output of the mesh quality filter is
incorrect?&nbsp; Do the ranges look wrong in the information tab?&nbsp; Does
the threshold filter not extract cells you expect to be of poor quality?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>Does your
modified mesh quality filter behave differently than the one that comes with
ParaView?&nbsp; The pipeline should not be updating your filter unless it needs
to refresh the calculation.&nbsp; The mesh quality filter will be run multiple
times on multiblock data (once per block), but I assume that is not the case
for you as volume rendering is not available on data with more than one block.&nbsp;
The cell count might be off because you are running in parallel.&nbsp; Each
process will have a partition of the whole mesh, so the cell count will be
smaller unless you are getting the global multiprocess controller and adding up
all the cells.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>If the pipeline
is inappropriately calling your filter multiple times, it might be that your
filter is calling its own Modified method (usually indirectly through, for
example, a call to one of the Set* macros).&nbsp; You can check for that by
making sure that the MTime ivar does not change while invoking RequestData or
any other ProcessRequests method.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>-Ken<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Nathanael Inkson
[mailto:Nathanael.Inkson@digitalflowsolutions.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 02, 2008
11:15 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Moreland, Kenneth<br>
<b><span style='font-weight:bold'>Cc:</span></b> simon.hubbard@digitalflowsolutions.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Strange behaviour
with large datasets</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Dear Ken,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp; Thanks
for your answer but I am not sure that this is the reason as I have other
fields which have large values. If I count the number of cells in one pass
through vtkMeshQuality and output to a file, I find that the answer is far less
than the actual number of cells in the mesh. I have a gut feeling that because
the mesh is so big that the MeshQuality filter is entered several times as it
updates the progress bar, wouldn&#8217;t that mean that the newly created
quality arrays are overwritten each time the filter is entered? I&#8217;m not
too sure about how the filters actually work.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>How is this prevented?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Nat.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>Best
Regards<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Dr.
Nathanael Inkson,</span></font></b><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Computational
Fluid Dynamics Developer,</span></font></b><b><font size=2 color=gray
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:gray;
font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Digital
Flow Solutions,</span></font></b><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=navy face="Times New Roman"><span lang=EN-GB style='font-size:
12.0pt;color:navy'>&nbsp;<img width=289 height=46 id="_x0000_i1028"
src="cid:image001.jpg@01C90CF0.D2911E60" align=baseline border=0></span></font><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray'><o:p></o:p></span></font></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray;font-weight:bold'><img width=182 height=55 id="_x0000_i1029"
src="cid:image002.jpg@01C90CF0.D2911E60" align=baseline border=0><strong><b><font
face=Verdana><span style='font-family:Verdana'><o:p></o:p></span></font></b></strong></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:9.0pt;font-family:Verdana;
color:gray'>mob:&nbsp; +&nbsp; 44 7872010167</span></font></b></strong><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray'><o:p></o:p></span></font></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:9.0pt;font-family:Verdana;
color:gray'>web:&nbsp; &nbsp;<a href="http://wirthresearch.com">wirthresearch.com</a></span></font></b></strong><font
size=1 color=navy><span lang=EN-GB style='font-size:9.0pt;color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
lang=EN-GB style='font-size:12.0pt;color:navy'>&nbsp;</span></font><span
lang=EN-GB><o:p></o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Moreland,
Kenneth [mailto:kmorel@sandia.gov] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 02 September 2008 14:58<br>
<b><span style='font-weight:bold'>To:</span></b> Nathanael Inkson; <st1:PersonName
w:st="on">paraview@paraview.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: Strange behaviour
with large datasets</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>If your mesh is
typical, then probably most of the cells are of good quality, and there are a
handful of cells of bad quality.&nbsp; Thus, when volume rendering most of the
cells will be invisible and that handful of cells will have some opacity.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>The probable
reason that you can see them in a small mesh and not a large one is that the
cells are spatially much smaller (with respect to the entire mesh) for the
large mesh.&nbsp; In correct volume rendering, a material of a constant density
will have smaller opacity the thinner it gets.&nbsp; Your cells are probably so
small that there is not enough accumulation to actually see them.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>You can adjust
for the small scale of the cells by adjusting the &#8220;Scale&#8221; parameter
in the Color Scale Editor dialog box.&nbsp; That parameter is actually a unit
length specification for the opacity parameters given.&nbsp; Setting it to about
cell length divided by 10 should give you decent results.&nbsp; However, an
easier and probably more effective approach would be to bag the volume
rendering and use the threshold filter to extract the cells of interest (in
this case, the bad ones).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>-Ken<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
paraview-bounces@paraview.org [mailto:paraview-bounces@paraview.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Nathanael Inkson<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 02, 2008
7:31 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">paraview@paraview.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [Paraview] Strange
behaviour with large datasets</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Dear Paraview people,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I am working with Paraview with very large datasets (around 40Gb). I have
written a filter derived from MeshQuality which doesn&#8217;t seem to display
the returned data arrays correctly. I checked with the same mesh and the
MeshQuality filter. The same thing happens: I put the output on volume
rendering to look at the quality field and the whole dataset is invisible. I
have tried rescaling the range but to know avail. Is this a known problem?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Any advice? With smaller meshes the problem
disappears and the quality field is visible with volume rendering.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>Best
Regards<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Dr.
Nathanael Inkson,</span></font></b><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>&nbsp;<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Computational
Fluid Dynamics Developer,</span></font></b><b><font size=2 color=gray
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:gray;
font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><b><font size=2 color=gray face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Digital
Flow Solutions,</span></font></b><b><font size=2 color=gray face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>&nbsp;<img
border=0 width=289 height=46 id="_x0000_i1025"
src="cid:image001.jpg@01C90CF0.D2911E60" align=baseline></span></font><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray'><o:p></o:p></span></font></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray;font-weight:bold'><img border=0 width=182 height=55 id="_x0000_i1026"
src="cid:image002.jpg@01C90CF0.D2911E60" align=baseline><strong><b><font
face=Verdana><span style='font-family:Verdana'><o:p></o:p></span></font></b></strong></span></font></b></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:9.0pt;font-family:Verdana;
color:gray'>mob:&nbsp; +&nbsp; 44 7872010167</span></font></b></strong><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:7.5pt;font-family:Verdana;
color:gray'><o:p></o:p></span></font></b></strong></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span style='font-size:9.0pt;font-family:Verdana;
color:gray'>web:&nbsp; &nbsp;wirthresearch.com</span></font></b></strong><font
size=1><span lang=EN-GB style='font-size:9.0pt'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</div>

</body>

</html>