Go to the documentation of this file.
10 #ifndef vtk_m_cont_Initialize_h
11 #define vtk_m_cont_Initialize_h
18 #include <type_traits>
78 using T = std::underlying_type<InitializeOptions>::type;
83 using T = std::underlying_type<InitializeOptions>::type;
118 #endif // vtk_m_cont_Initialize_h
InitializeOptions
Definition: Initialize.h:40
@ AddHelp
Add a help argument.
Groups connected points that have the same field value.
Definition: Atomic.h:19
std::string Usage
A usage statement for arguments parsed by VTK-m.
Definition: Initialize.h:37
@ Strict
If supplied, Initialize treats its own arguments as the only ones supported by the application and pr...
Definition: Initialize.h:26
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
#define VTKM_CONT
Definition: ExportMacros.h:57
@ None
Placeholder used when no options are enabled.
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
@ RequireDevice
Issue an error if the device argument is not specified.
@ DefaultAnyDevice
If no device is specified, treat it as if the user gave --vtkm-device=Any.
@ ErrorOnBadArgument
If an extra argument is encountered, the program terminates with an error and a usage statement is pr...
Tag for a device adapter used to avoid specifying a device.
Definition: DeviceAdapterTag.h:187
InitializeResult Initialize(int &argc, char *argv[], InitializeOptions opts=InitializeOptions::None)
Initialize the VTKm library, parsing arguments when provided:
@ ErrorOnBadOption
If an unknown option is encountered, the program terminates with an error and a usage statement is pr...
InitializeOptions operator|(const InitializeOptions &lhs, const InitializeOptions &rhs)
Definition: Initialize.h:76
InitializeOptions operator&(const InitializeOptions &lhs, const InitializeOptions &rhs)
Definition: Initialize.h:81
DeviceAdapterId Device
The device passed into --vtkm-device argument.
Definition: Initialize.h:32