Go to the documentation of this file.
10 #ifndef vtk_m_cont_Initialize_h
11 #define vtk_m_cont_Initialize_h
14 #include <vtkm/cont/vtkm_cont_export.h>
18 #include <type_traits>
69 using T = std::underlying_type<InitializeOptions>::type;
74 using T = std::underlying_type<InitializeOptions>::type;
109 #endif // vtk_m_cont_Initialize_h
InitializeOptions
Definition: Initialize.h:35
@ AddHelp
Add a help argument.
Groups connected points that have the same field value.
Definition: Atomic.h:19
std::string Usage
Usage statement for arguments parsed by VTK-m.
Definition: Initialize.h:32
@ 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
Definition: ExportMacros.h:57
Definition: DeviceAdapterTag.h:52
@ 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...
VTKM_CONT_EXPORT VTKM_CONT 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:67
InitializeOptions operator&(const InitializeOptions &lhs, const InitializeOptions &rhs)
Definition: Initialize.h:72
DeviceAdapterId Device
Device passed into –vtkm-device, or undefined.
Definition: Initialize.h:29