SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
parallel.cpp File Reference
#include "serif/backend/mfem/shared/parallel.hpp"
#include "mfem/fem/eltrans.hpp"
#include "mfem/fem/gridfunc.hpp"
#include "mfem/mesh/mesh.hpp"
Include dependency graph for parallel.cpp:

Namespaces

namespace  serif
 
namespace  serif::utils
 
namespace  serif::utils::parallel
 

Functions

int serif::utils::parallel::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.
 
void serif::utils::parallel::element_transformation (const ::mfem::Mesh &mesh, int element, ::mfem::IsoparametricTransformation &transformation)
 Mesh::GetElementTransformation(element, transformation), safe in concurrent element loops.