Block-Structured AMR Software Framework
amrex::OpenMP Namespace Reference

Functions

constexpr int get_num_threads ()
 
constexpr int get_max_threads ()
 
constexpr int get_thread_num ()
 
constexpr int in_parallel ()
 
constexpr void set_num_threads (int)
 

Function Documentation

◆ get_max_threads()

constexpr int amrex::OpenMP::get_max_threads ( )
constexpr

◆ get_num_threads()

constexpr int amrex::OpenMP::get_num_threads ( )
constexpr

◆ get_thread_num()

constexpr int amrex::OpenMP::get_thread_num ( )
constexpr

◆ in_parallel()

constexpr int amrex::OpenMP::in_parallel ( )
constexpr

◆ set_num_threads()

constexpr void amrex::OpenMP::set_num_threads ( int  )
constexpr