Update mesh instance for change - Changed: set to current time index - No change: set to previous time instance - No change and first instance: it is "constant" time instance
| 6614 | // - No change: set to previous time instance |
| 6615 | // - No change and first instance: it is "constant" time instance |
| 6616 | inline void UpdateTimeInstance(std::vector<vtkIdType>& list, vtkIdType i, bool changed) |
| 6617 | { |
| 6618 | // NOLINTNEXTLINE(readability-avoid-nested-conditional-operator) |
| 6619 | list[i] = changed ? i : (i == 0) ? TIMEINDEX_CONSTANT : list[i - 1]; |
| 6620 | } |
| 6621 | |
| 6622 | } // End anonymous namespace |
| 6623 |
no outgoing calls
no test coverage detected