mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
use global ghost array name
This commit is contained in:
parent
f8c9af4f11
commit
48793964d0
@ -36,7 +36,7 @@ void TestAmrArraysExecute(int dim, int numberOfLevels, int cellsPerDimension)
|
||||
vtkm::filter::entity_extraction::Threshold threshold;
|
||||
threshold.SetLowerThreshold(0);
|
||||
threshold.SetUpperThreshold(1);
|
||||
threshold.SetActiveField("vtkGhostType");
|
||||
threshold.SetActiveField(vtkm::cont::GetGlobalGhostCellFieldName());
|
||||
vtkm::cont::PartitionedDataSet derivedDataSet = threshold.Execute(amrDataSet);
|
||||
// std::cout << "derived " << std::endl;
|
||||
// derivedDataSet.PrintSummary(std::cout);
|
||||
|
Loading…
Reference in New Issue
Block a user