use cellset and not field as basis for ghost array

This commit is contained in:
Roxana Bujack 2023-12-21 08:49:57 -07:00
parent c78cb8069c
commit 753df58857

@ -25,15 +25,15 @@ void Mapper::RenderCells(const vtkm::cont::UnknownCellSet& cellset,
const vtkm::rendering::Camera& camera,
const vtkm::Range& scalarRange)
{
RenderCellsImpl(cellset,
coords,
scalarField,
colorTable,
camera,
scalarRange,
make_FieldCell(vtkm::cont::GetGlobalGhostCellFieldName(),
vtkm::cont::ArrayHandleConstant<vtkm::UInt8>(
0, scalarField.GetNumberOfValues())));
RenderCellsImpl(
cellset,
coords,
scalarField,
colorTable,
camera,
scalarRange,
make_FieldCell(vtkm::cont::GetGlobalGhostCellFieldName(),
vtkm::cont::ArrayHandleConstant<vtkm::UInt8>(0, cellset.GetNumberOfCells())));
};
void Mapper::RenderCells(const vtkm::cont::UnknownCellSet& cellset,