mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
adding initial cell set structures
This commit is contained in:
parent
2e7e3fff64
commit
1629045986
22
vtkm/cont/CellSet.h
Normal file
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
|
19
vtkm/cont/CellSetExplicit.h
Normal file
19
vtkm/cont/CellSetExplicit.h
Normal file
@ -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
|
19
vtkm/cont/CellSetStructured.h
Normal file
19
vtkm/cont/CellSetStructured.h
Normal file
@ -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/DeviceAdapterAlgorithm.h>
|
||||||
#include <vtkm/cont/ExplicitConnectivity.h>
|
#include <vtkm/cont/ExplicitConnectivity.h>
|
||||||
#include <vtkm/cont/RegularConnectivity.h>
|
#include <vtkm/cont/RegularConnectivity.h>
|
||||||
|
#include <vtkm/cont/CellSet.h>
|
||||||
|
#include <vtkm/cont/CellSetExplicit.h>
|
||||||
|
#include <vtkm/cont/CellSetStructured.h>
|
||||||
|
|
||||||
namespace vtkm {
|
namespace vtkm {
|
||||||
namespace cont {
|
namespace cont {
|
||||||
|
Loading…
Reference in New Issue
Block a user