The symbols in
vtkm::cont::Field::Association have been changed from
Cells, respectively. The reason for this change is twofold:
- The general standard that VTK-m follows for
enum structenumerators is to use camel case (with the first character capitalized), not all upper case.
- The use of
CELL_SETfor fields associated with cells is obsolete. A
DataSetused to support having more than one
CellSet, and so a field association on cells was actually bound to a particular
CellSet. However, that is no longer the case. A
DataSethas exactly one
CellSet, so a cell field no longer has to point to a
CellSet. Thus the enumeration symbol for
Cellsshould match the one for
For backward compatibility, the old enumerations still exist. They are aliases for the new names, and they are marked as deprecated, so using them will result in a compiler warning (on some systems).
Fixes #667 (closed)