1 /* -*- mode: c; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; c-file-style: "stroustrup"; -*-
4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
10 * Written by the Gromacs development team under coordination of
11 * David van der Spoel, Berk Hess, and Erik Lindahl.
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * To help us fund GROMACS development, we humbly ask that you cite
19 * the research papers on the package. Check out http://www.gromacs.org
22 * Gnomes, ROck Monsters And Chili Sauce
35 int gmx_omp_get_max_threads(void)
38 return omp_get_max_threads();
45 int gmx_omp_get_thread_num(void)
48 return omp_get_thread_num();
54 void gmx_omp_set_num_threads(int num_threads)
57 omp_set_num_threads(num_threads);