static int getNumThreads()
Returns the number of supported threads (or 1 if OpenMP is not supported)
static bool haveOpenMP()
True if OpenMP is supported.
static void setMaxNumThreads()
Enables the maximum number of parallel threads.
static void setNumThreads(int n)
Sets the number of used threads if OpenMP is used for parallelization.