ENH: Detect partially overlapping ghost cells

Added method to HasPartiallyOverlappingGhostCells that
detects whether the AMR dataset has partially overlapping
ghost cells, i.e., cells that partially cover a low-res
cell.

Change-Id: I55de574328a1ecc3dd26a421a3a907070e9045f2
ENH: Test for partial overallping ghost cells

Basic testing for detecting partially overlapping ghost cells. The
code uses the vtkAMRGaussianPulseSource to generate sample AMR data
and then manually appends ghost cells.

Change-Id: I4a1db1d553e2f0753e15a13ccdcf3dd8ab6bee94
ENH: Stripping partially overlapping ghost-layers

Added functionality for stripping out partially overlapping
ghost layers. For each grid a ghost vector is computed that
encodes for each of the 6 sides [imin,imax,jmin,jmax,kmin,kmax]
the number of ghost layers to strip out,i.e., the number of
cells that partially overlap with a lower resolution cell. Then,
from the ghosted AMR dataset, a non-ghosted instance is created.

Change-Id: I9b2c200f948aca0daf82c14844baf2a17d1db838
ENH: Test suite for stripping out ghost layers

Added testing for detecting & stripping out ghost layers.

Change-Id: Ie30d5fb304ed39fa6e6ddf485a2b61df0ee1a994
BUGFIX: Fix issue with blanked cells

Fixed issue due to blanked cells. When a cell is blanked
an empty cell is returned by vtkUniformGrid, consequently,
the cell-centers were not computed correctly leading to a
test failure since the computed cell centers did not match
the centers that are attached as fields on the grid. Also,
made the test always create partially overlapping ghost layers.

Change-Id: Ic75743446154e36cabf1336dc065785136635b93
ENH: Remove unused variable & style enhancements

Removed no longer used variable lowResLevel and did a static
cast to an int when acquiring the number of levels s.t. we
don't have to cast later.

Change-Id: I8acdd1ea4d7fd407707c738ab2f3ccf2c27ca030
COMP: Fix shadow parameter

Change-Id: If5d90813fda98c2bdf1974875f2eb90a49a33cd4
Merge topic 'strip-amr-ghost-layers' into master

0c1bc803 COMP: Fix shadow parameter
f4161ea8 ENH: Remove unused variable & style enhancements
ec74eb2f BUGFIX: Fix issue with blanked cells
ce5fdd18 ENH: Test suite for stripping out ghost layers
5e06ce55 ENH: Stripping partially overlapping ghost-layers
ff29719a ENH: Test for partial overallping ghost cells
27cf36c9 ENH: Detect partially overlapping ghost cells
Use the vtk_target macro to export/install wrappers

The wrapper binaries were not being exported/installed correctly. These
changes use the new vtk_target macro to ensure they are exported and
installed correctly.

Change-Id: Id2ade8eaf8b0afffe861d5b574a2f546311de7a6
Automatically set wrap exes if targets imported

If the appropriate targets were imported, and the user did not set a
special value for the wrapping executables then use sane defaults (those
built by VTK).

Change-Id: I32275effb918602433ca1a5bc9340d303ca9baf0
Merge topic 'python-wrap-install' into master

7e1c53f4 Automatically set wrap exes if targets imported
8b0cf94e Use the vtk_target macro to export/install wrappers
BUGFIX: Fix bug with non-null terminated string

Fixed issue wherein a non-null terminated string was passed to
atoi.

Thanks to Bill Lorensen for this fix.

Change-Id: I5cedfe2c740b752d6ea28f9619bcdf104522928f
BUG: stl container accessed beyond size

This line in vtkOverlappingAMR::GenerateParentChildLevelInformation()

parentsVec.assign(0, n);
should be
parentsVec.assign(n, 0);

Look here to see the subtle difference:
http://www.cplusplus.com/reference/stl/vector/assign/

Change-Id: I44b4cf2121d2d6f9739b44168651787f25c6eef7
Merge topic 'enzo-valgrind-defects' into master

7821ff06 BUG: stl container accessed beyond size
07dd640e BUGFIX: Fix bug with non-null terminated string