Commit 08fc6b5c authored by whitlocb's avatar whitlocb

Fix inverse ghost zone extents issue on the trunk.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@15846 18c085ea-50e0-402c-830e-de6fd14e8384
parent 03028bba
......@@ -28,6 +28,7 @@ list of changes in release 2.3.1.</p>
<li>Repeatedly passing character array variables with different string values to Libsim was broken. In the old scheme, arrays were assumed to contain the same contents and conversion to C-style strings under the covers would only happen once.</li>
<li>A bug was corrected in the principal_tensor, principal_deviatoric_tensor and tensor_maximum_shear expressions, where a cutoff used to prevent numeric overflows and underflows was too argressive causing the expressions to calculate incorrect values for small values.</li>
<li>VisIt again honors vis window size information stored in session files and config files for the case where there is a single vis window.</li>
<li>The InverseGhostZone operator is now more agressive about invalidating data limits so the limits shown in the legend will reflect the values in the ghost data only.</li>
</ul>
<p><b><font size="4">Enhancements in version 2.3.2</font></b></p>
......
......@@ -41,6 +41,7 @@
// ************************************************************************* //
#include <avtInverseGhostZoneFilter.h>
#include <avtExtents.h>
#include <vtkCellData.h>
#include <vtkDataSet.h>
......@@ -279,12 +280,27 @@ avtInverseGhostZoneFilter::ExecuteData(vtkDataSet *in_ds, int, std::string)
// Programmer: Hank Childs
// Creation: January 8, 2004
//
// Modifications:
// Brad Whitlock, Thu Aug 18 16:15:30 PDT 2011
// Clear out the data extents since the ghost values may have different
// extents than the real data that we've seen so far.
//
// ****************************************************************************
void
avtInverseGhostZoneFilter::UpdateDataObjectInfo(void)
{
GetOutput()->GetInfo().GetValidity().InvalidateZones();
avtDataAttributes &atts = GetOutput()->GetInfo().GetAttributes();
if(atts.ValidActiveVariable() && atts.GetVariableDimension() > 0)
{
atts.GetOriginalDataExtents()->Clear();
atts.GetThisProcsOriginalDataExtents()->Clear();
atts.GetDesiredDataExtents()->Clear();
atts.GetActualDataExtents()->Clear();
atts.GetThisProcsActualDataExtents()->Clear();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment