PSCF v1.2
getNThread.h
1#ifndef PRDC_GET_N_THREAD_H
2#define PRDC_GET_N_THREAD_H
3
4/*
5* PSCF - Polymer Self-Consistent Field Theory
6*
7* Copyright 2016 - 2022, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11namespace Pscf{
12
13 /*
14 * Get number of threads from command line option -t and set default.
15 *
16 * This function searches the argument list argv for option -t and,
17 * if found, sets the default number of OpenMP threads to the argument
18 * of this option.
19 *
20 * \param argc number of command line arguments
21 * \param argv vector of pointers to command line arguments
22 * \return integer dimension of space
23 */
24 int getNThread(int argc, char **argv);
25
26}
27#endif
PSCF package top-level namespace.
Definition param_pc.dox:1