/[escript]/trunk/escript/src/Utils.h
ViewVC logotype

Contents of /trunk/escript/src/Utils.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1247 - (show annotations)
Tue Aug 14 01:29:20 2007 UTC (12 years, 4 months ago) by ksteube
File MIME type: text/plain
File size: 1072 byte(s)
New python method getVersion() which returns the Subversion revision
from which escript was compiled

1 /*
2 ************************************************************
3 * Copyright 2006 by ACcESS MNRF *
4 * *
5 * http://www.access.edu.au *
6 * Primary Business: Queensland, Australia *
7 * Licensed under the Open Software License version 3.0 *
8 * http://www.opensource.org/licenses/osl-3.0.php *
9 * *
10 ************************************************************
11 */
12
13 #if !defined escript_Utils_H
14 #define escript_Utils_H
15 #include "system_dep.h"
16
17 namespace escript {
18
19 /**
20 \brief
21 some functions
22
23 */
24
25 /**
26 \brief
27 return the latest SVN version number
28 */
29 ESCRIPT_DLL_API int getSvnVersion();
30
31 /**
32 \brief
33 set the number of threads
34 */
35 ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);
36
37 /**
38 \brief
39 returns the number of threads
40 */
41 ESCRIPT_DLL_API int getNumberOfThreads();
42
43 } // end of namespace
44 #endif

  ViewVC Help
Powered by ViewVC 1.1.26