Skip to content

Fix example of defining a derived portal with Set

A recent change to VTK-m made sure that the Set method was removed from portals (particularly the control portal of basic arrays) that are read- only. Because of this, a portal for a derived array needs to be more careful about not using a Set method that is not there.

Put in a template using SFINAE to remove the Set method when the derived array(s) do not have Set. (This is not explained in the text, though.)

Merge request reports