adding initial cell set structures

This commit is contained in:
Jeremy Meredith 2015-04-15 12:43:12 -04:00
parent 2e7e3fff64
commit 1629045986
4 changed files with 63 additions and 0 deletions

22
vtkm/cont/CellSet.h Normal file

@ -0,0 +1,22 @@
#ifndef vtk_m_cont_CellSet_h
#define vtk_m_cont_CellSet_h
#include <vtkm/CellType.h>
#include <vtkm/cont/ArrayHandle.h>
#include <vtkm/cont/Field.h>
#include <vtkm/cont/DynamicArrayHandle.h>
#include <vtkm/cont/DeviceAdapterAlgorithm.h>
namespace vtkm {
namespace cont {
class CellSet
{
public:
CellSet() {}
};
}
} // namespace vtkm::cont
#endif //vtk_m_cont_CellSet_h

@ -0,0 +1,19 @@
#ifndef vtk_m_cont_CellSetExplicit_h
#define vtk_m_cont_CellSetExplicit_h
#include <vtkm/cont/CellSet.h>
#include <vtkm/cont/ExplicitConnectivity.h>
namespace vtkm {
namespace cont {
class CellSetExplicit
{
protected:
ExplicitConnectivity nodesOfCellsConnectivity;
};
}
} // namespace vtkm::cont
#endif //vtk_m_cont_CellSetExplicit_h

@ -0,0 +1,19 @@
#ifndef vtk_m_cont_CellSetStructured_h
#define vtk_m_cont_CellSetStructured_h
#include <vtkm/cont/CellSet.h>
#include <vtkm/cont/RegularConnectivity.h>
namespace vtkm {
namespace cont {
class CellSetStructured
{
protected:
RegularConnectivity structure;
};
}
} // namespace vtkm::cont
#endif //vtk_m_cont_CellSetStructured_h

@ -8,6 +8,9 @@
#include <vtkm/cont/DeviceAdapterAlgorithm.h>
#include <vtkm/cont/ExplicitConnectivity.h>
#include <vtkm/cont/RegularConnectivity.h>
#include <vtkm/cont/CellSet.h>
#include <vtkm/cont/CellSetExplicit.h>
#include <vtkm/cont/CellSetStructured.h>
namespace vtkm {
namespace cont {