Remove warning about 64bit to 32bit data loss in ExternalFaces.

Index table into array should be done with type vtkm::IdComponent not
vtkm::Id
This commit is contained in:
Robert Maynard 2015-08-14 14:41:01 -04:00
parent c8d19d1f3f
commit 88a5184814

@ -189,7 +189,7 @@ namespace worklet
{
if (cellType == vtkm::VTKM_TETRA)
{
vtkm::Id faceIdTable[12] = {0,1,2,0,1,3,0,2,3,1,2,3};
vtkm::IdComponent faceIdTable[12] = {0,1,2,0,1,3,0,2,3,1,2,3};
//Assign cell points/nodes to this face
vtkm::Id faceP1 = cellNodeIds[faceIdTable[cellFaceId*N]];