anuga.Domain.set_omp_num_threads

Domain.set_omp_num_threads(omp_num_threads: int | None = None, verbose: bool = True) None[source]

Set the OpenMP thread count (process-wide).

OpenMP thread count is a process-level setting, not per-domain. This is a thin wrapper that delegates to the module-level anuga.set_omp_num_threads(); prefer that in new code. Kept for backward compatibility, and records self.omp_num_threads.