omp_get_team_size– Number of threads in a team
This function returns the number of threads in a thread team to which
either the current thread or its ancestor belongs. For values of level
outside zero to
omp_get_level, -1 is returned; if level is zero,
1 is returned, and for
omp_get_level, the result is identical
OpenMP specification v4.5, Section 3.2.19.