15#ifndef vtkConduitArrayUtilitiesDevice_h
16#define vtkConduitArrayUtilitiesDevice_h
18#include "vtkIOCatalystConduitModule.h"
24#include "vtkm/cont/DeviceAdapterTag.h"
27VTK_ABI_NAMESPACE_BEGIN
39 bool force_signed,
const vtkm::cont::DeviceAdapterId& deviceAdapterId);
41 bool force_signed,
const vtkm::cont::DeviceAdapterId& deviceAdapterId);
46 static bool CanRunOn(
const vtkm::cont::DeviceAdapterId& deviceAdapterId);
object to represent cell connectivity
helper to convert Conduit arrays stored on acceleration devices to VTKm arrays.
static bool CanRunOn(const vtkm::cont::DeviceAdapterId &deviceAdapterId)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkConduitArrayUtilitiesDevice() override
vtkConduitArrayUtilitiesDevice()
static vtkConduitArrayUtilitiesDevice * New()
static bool IfVTKmConvertVTKMonoShapedCellArray(vtkIdType numberOfPoints, int cellType, vtkIdType cellSize, vtkDataArray *connectivity, vtkCellArray *cellArray)
static vtkSmartPointer< vtkDataArray > MCArrayToVTKmAOSArray(const conduit_node *mcarray, bool force_signed, const vtkm::cont::DeviceAdapterId &deviceAdapterId)
static vtkSmartPointer< vtkDataArray > MCArrayToVTKmSOAArray(const conduit_node *mcarray, bool force_signed, const vtkm::cont::DeviceAdapterId &deviceAdapterId)
static bool IfVTKmConvertVTKMixedCellArray(vtkIdType numberOfPoints, vtkDataArray *offsets, vtkDataArray *shapes, vtkDataArray *elements, vtkCellArray *cellArray)
abstract superclass for arrays of numeric data
a simple class to control print indentation
abstract base class for most VTK objects
Hold a reference to a vtkObjectBase instance.