mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Fix compile issues. Add new files to CMakeLists.txt
This commit is contained in:
parent
ee93ce4258
commit
ff96659902
@ -83,7 +83,6 @@ public:
|
|||||||
{
|
{
|
||||||
vtkm::Id dim1 = this->PortalFirst.GetNumberOfValues();
|
vtkm::Id dim1 = this->PortalFirst.GetNumberOfValues();
|
||||||
vtkm::Id dim2 = this->PortalSecond.GetNumberOfValues();
|
vtkm::Id dim2 = this->PortalSecond.GetNumberOfValues();
|
||||||
vtkm::Id dim3 = this->PortalThird.GetNumberOfValues();
|
|
||||||
vtkm::Id dim12 = dim1*dim2;
|
vtkm::Id dim12 = dim1*dim2;
|
||||||
vtkm::Id idx12 = index % dim12;
|
vtkm::Id idx12 = index % dim12;
|
||||||
vtkm::Id i1 = idx12 % dim1;
|
vtkm::Id i1 = idx12 % dim1;
|
||||||
@ -100,7 +99,6 @@ public:
|
|||||||
{
|
{
|
||||||
vtkm::Id dim1 = this->PortalFirst.GetNumberOfValues();
|
vtkm::Id dim1 = this->PortalFirst.GetNumberOfValues();
|
||||||
vtkm::Id dim2 = this->PortalSecond.GetNumberOfValues();
|
vtkm::Id dim2 = this->PortalSecond.GetNumberOfValues();
|
||||||
vtkm::Id dim3 = this->PortalThird.GetNumberOfValues();
|
|
||||||
vtkm::Id dim12 = dim1*dim2;
|
vtkm::Id dim12 = dim1*dim2;
|
||||||
vtkm::Id idx12 = index % dim12;
|
vtkm::Id idx12 = index % dim12;
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ include_directories(${Boost_INCLUDE_DIRS})
|
|||||||
set(headers
|
set(headers
|
||||||
ArrayHandle.h
|
ArrayHandle.h
|
||||||
ArrayHandleCast.h
|
ArrayHandleCast.h
|
||||||
|
ArrayHandleCartesianProduct.h
|
||||||
ArrayHandleCompositeVector.h
|
ArrayHandleCompositeVector.h
|
||||||
ArrayHandleConstant.h
|
ArrayHandleConstant.h
|
||||||
ArrayHandleCounting.h
|
ArrayHandleCounting.h
|
||||||
@ -44,6 +45,10 @@ set(headers
|
|||||||
CellSetPermutation.h
|
CellSetPermutation.h
|
||||||
CoordinateSystem.h
|
CoordinateSystem.h
|
||||||
DataSet.h
|
DataSet.h
|
||||||
|
DataSetBuilderExplicit.h
|
||||||
|
DataSetBuilderRectilinear.h
|
||||||
|
DataSetBuilderRegular.h
|
||||||
|
DataSetFieldAdd.h
|
||||||
DeviceAdapter.h
|
DeviceAdapter.h
|
||||||
DeviceAdapterAlgorithm.h
|
DeviceAdapterAlgorithm.h
|
||||||
DeviceAdapterSerial.h
|
DeviceAdapterSerial.h
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
#ifndef vtk_m_cont_DataSetFieldAdd_h
|
#ifndef vtk_m_cont_DataSetFieldAdd_h
|
||||||
#define vtk_m_cont_DataSetFieldAdd_h
|
#define vtk_m_cont_DataSetFieldAdd_h
|
||||||
|
|
||||||
|
#include <vtkm/cont/DataSet.h>
|
||||||
|
#include <vtkm/cont/Field.h>
|
||||||
|
|
||||||
namespace vtkm {
|
namespace vtkm {
|
||||||
namespace cont {
|
namespace cont {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user