Function select_strategy

Function Documentation

inline OMPStrategy select_strategy(int total_points, int nfreq, int nthreads)

Auto-select the optimal parallelization strategy.

Parameters:
  • total_points – Number of T/P grid points to calculate

  • nfreq – Number of vibrational frequencies

  • nthreads – Available OpenMP threads

Returns:

Selected strategy