Added TOOD/FIXME for sanity check

This commit is contained in:
Gunther H. Weber 2021-05-13 14:28:33 -07:00
parent e2fe35e129
commit ca6f0bba9c
2 changed files with 5 additions and 1 deletions

@ -1333,7 +1333,7 @@ struct Serialization<vtkm::worklet::contourtree_distributed::HierarchicalAugment
static void load(vtkmdiy::BinaryBuffer& bb,
vtkm::worklet::contourtree_distributed::HierarchicalAugmenter<FieldType>& ha)
{
// TODO/FIXME: Save to Out or some other array?
// TODO/FIXME: Save to Out or some other array? Shoud possibly InGlobalRegularIds etc.. Please check!
vtkmdiy::load(bb, ha.OutGlobalRegularIds);
vtkmdiy::load(bb, ha.OutDataValues);
vtkmdiy::load(bb, ha.OutSupernodeIds);

@ -244,6 +244,10 @@ void HierarchicalHyperSweeper<MeshType, FieldType>::InitializeIntrinsicVertexCou
localInvoke; // Needed because this a static function so we can't use the invoke from the object
// I. Call the mesh to get a list of all regular vertices belonging to the block by global Id
vtkm::worklet::contourtree_augmented::IdArrayType globalIds;
// TODO/FIXME: Even though the virtual function on DataSetMesh was removed in commit
// 93730495813f7b85e59d4a5dae2076977787fd78, this should call the correct function
// since MeshType is templated and should have the appropriate type. Verify that
// this is indeed correct.
baseBlock.GetOwnedVerticesByGlobalId(localToGlobalIdRelabeler, globalIds);
// and store the size for later reference
hierarchicalTree.NumOwnedRegularVertices = globalIds.GetNumberOfValues();