MolSim
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
OMPWrapper.h File Reference

Helper class for systems that may not have OpenMP functionality. More...

Go to the source code of this file.

Macros

#define CONTAINER_LOOP(container, it_var)   for (auto &it_var : (container))
 
#define CONTAINER_REF(it_var)   (it_var)
 

Typedefs

typedef int omp_lock_t
 

Functions

int omp_get_thread_num ()
 
int omp_get_num_threads ()
 
void omp_init_lock (omp_lock_t *)
 
void omp_destroy_lock (omp_lock_t *)
 
void omp_set_lock (omp_lock_t *)
 
void omp_unset_lock (omp_lock_t *)
 
int omp_get_max_threads ()
 

Detailed Description

Helper class for systems that may not have OpenMP functionality.

Date
2025-01-19

Macro Definition Documentation

◆ CONTAINER_LOOP

#define CONTAINER_LOOP (   container,
  it_var 
)    for (auto &it_var : (container))

◆ CONTAINER_REF

#define CONTAINER_REF (   it_var)    (it_var)

Typedef Documentation

◆ omp_lock_t

typedef int omp_lock_t

Function Documentation

◆ omp_destroy_lock()

void omp_destroy_lock ( omp_lock_t )
inline

◆ omp_get_max_threads()

int omp_get_max_threads ( )
inline

◆ omp_get_num_threads()

int omp_get_num_threads ( )
inline

◆ omp_get_thread_num()

int omp_get_thread_num ( )
inline

◆ omp_init_lock()

void omp_init_lock ( omp_lock_t )
inline

◆ omp_set_lock()

void omp_set_lock ( omp_lock_t )
inline

◆ omp_unset_lock()

void omp_unset_lock ( omp_lock_t )
inline