Function opensn::SetBlockIDArrays

Function Documentation

void opensn::SetBlockIDArrays(std::vector<vtkUGridPtrAndName> &ugrid_blocks)

Given several unstructured grid blocks, each denoting a block id, this function creates a VTK cell-data array called “BlockID” that holds this information.