|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Namespaces | |
| namespace | detail |
Functions | |
| int | worker_count () noexcept |
| Workers an element loop may use: OpenMP's thread limit (OMP_NUM_THREADS), or 1 without OpenMP or inside an enclosing parallel region. | |
| template<typename BodyT> | |
| void | for_each_index (const int count, BodyT &&body) |
| Call body(index, worker) once for every index in [0, count), possibly concurrently. | |
| void | element_transformation (const ::mfem::Mesh &mesh, int element, ::mfem::IsoparametricTransformation &transformation) |
| Mesh::GetElementTransformation(element, transformation), safe in concurrent element loops. | |
| void serif::utils::parallel::element_transformation | ( | const ::mfem::Mesh & | mesh, |
| int | element, | ||
| ::mfem::IsoparametricTransformation & | transformation ) |
Mesh::GetElementTransformation(element, transformation), safe in concurrent element loops.
| void serif::utils::parallel::for_each_index | ( | const int | count, |
| BodyT && | body ) |
Call body(index, worker) once for every index in [0, count), possibly concurrently.
|
nodiscardnoexcept |
Workers an element loop may use: OpenMP's thread limit (OMP_NUM_THREADS), or 1 without OpenMP or inside an enclosing parallel region.