PolyFEM
Loading...
Searching...
No Matches
MaybeParallelFor.hpp File Reference
Include dependency graph for MaybeParallelFor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  polyfem
 
namespace  polyfem::utils
 

Functions

void polyfem::utils::maybe_parallel_for (int size, const std::function< void(int, int, int)> &partial_for)
 
void polyfem::utils::maybe_parallel_for (int size, const std::function< void(int)> &body)
 
template<typename LocalStorage >
auto polyfem::utils::create_thread_storage (const LocalStorage &initial_local_storage)
 
template<typename Storages >
auto & polyfem::utils::get_local_thread_storage (Storages &storage, int thread_id)