mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
use cellset and not field as basis for ghost array
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user