mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 19:15:45 +00:00
renaming to fix build errors.
This commit is contained in:
parent
8294d500fe
commit
aadd307332
@ -39,7 +39,7 @@ public:
|
||||
vtkm::Id x_idx, y_idx, z_idx;
|
||||
|
||||
ExplicitConnectivity conn;
|
||||
RegularConnectivity3D reg;
|
||||
RegularConnectivity reg;
|
||||
//TODO: Logical structure: vtkm::Extents? Use EAVL logicalStructure?
|
||||
|
||||
//traditional data-model
|
||||
|
@ -39,9 +39,9 @@ public:
|
||||
void GetIndices(vtkm::Id index, vtkm::Vec<vtkm::Id,ItemTupleLength> &ids)
|
||||
{
|
||||
int i,j,k;
|
||||
CalculateLogicalCellIndices3D(index, i,j,k);
|
||||
CalculateLogicalCellIndices(index, i,j,k);
|
||||
///\todo: assert ItemTupleLength >= 8, or return early?
|
||||
ids[0] = CalculateNodeIndex3D(i, j, k);
|
||||
ids[0] = CalculateNodeIndex(i, j, k);
|
||||
if (ItemTupleLength <= 1) return;
|
||||
ids[1] = ids[0] + 1;
|
||||
if (ItemTupleLength <= 2) return;
|
||||
|
@ -223,7 +223,7 @@ void TestDataSet_Regular()
|
||||
|
||||
|
||||
//Set regular structure
|
||||
ds.reg.SetNodeDimension3D(3,2,3);
|
||||
ds.reg.SetNodeDimension(3,2,3);
|
||||
|
||||
//Run a worklet to populate a cell centered field.
|
||||
vtkm::Float32 cellVals[4] = {-1.1, -1.2, -1.3, -1.4};
|
||||
|
Loading…
Reference in New Issue
Block a user