Skip to content

Fixes the wrong values on cells field data after applying the vtkMaterialInterface filter

PassData just passes pointers arrays from input to output. As here the temporary cells have not same topology as input ones, we cannot just use the same arrays.

Replaces the call to PassData with the call to CopyAllocate which is what was done before. Adds a call to SetCopyGlobalIds to get the global ids copied and also avoid a SIGSEGV when clipping back the temporary cells to output mesh.

Closes #28 (closed)

Merge request reports