NumThreadGuard sets current number of threads to newNum and resets number of threads during destructi...
Definition: NumThreadGuard.h:14
NumThreadGuard(const int newNum)
Construct a new NumThreadGuard object and sets current number of threads to newNum.
Definition: NumThreadGuard.h:20
NumThreadGuard(const NumThreadGuard &)=delete
delete copy constructor.
~NumThreadGuard()
Destroy the NumThreadGuard object and reset number of threads.
Definition: NumThreadGuard.h:27
NumThreadGuard & operator=(const NumThreadGuard &)=delete
delete copy assignment constructor.
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32
void autopas_set_num_threads(int)
Wrapper for omp_set_num_threads().
Definition: WrapOpenMP.h:150