PolyFEM
|
#include <par_for.hpp>
Public Member Functions | |
size_t | num_threads () const |
void | set_num_threads (const int max_threads) |
Static Public Member Functions | |
static NThread & | get () |
Private Member Functions | |
NThread () | |
Private Attributes | |
size_t | num_threads_ |
Definition at line 16 of file par_for.hpp.
|
inlineprivate |
Definition at line 40 of file par_for.hpp.
|
inlinestatic |
Definition at line 19 of file par_for.hpp.
Referenced by polyfem::utils::count_invalid(), polyfem::utils::get_n_threads(), polyfem::OptState::init(), polyfem::utils::is_valid(), polyfem::utils::is_valid(), polyfem::utils::max_time_step(), and polyfem::State::set_max_threads().
|
inline |
Definition at line 25 of file par_for.hpp.
References num_threads_.
Referenced by polyfem::utils::count_invalid(), polyfem::utils::get_n_threads(), polyfem::utils::is_valid(), polyfem::utils::is_valid(), polyfem::utils::max_time_step(), and set_num_threads().
|
inline |
Definition at line 27 of file par_for.hpp.
References num_threads(), and num_threads_.
Referenced by polyfem::OptState::init(), and polyfem::State::set_max_threads().
|
private |
Definition at line 42 of file par_for.hpp.
Referenced by num_threads(), and set_num_threads().