nrv_parameters.gmsh_autoset

nrv_parameters.gmsh_autoset(threshold: float = 20.0, ncore_nojob: int = 0)[source]

Automatically set gmsh core number based on the number of available cores and a threshold.

Parameters:
  • threshold (float, optional) – Threshold to determine if a CPU core is available, by default 20.0 (in percent)

  • ncore_nojob (int, optional) – Number of cores preserve from computing with NRV, by default 0