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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1247 - (hide annotations)
Tue Aug 14 01:29:20 2007 UTC (12 years, 3 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 gross 391 /*
2 elspeth 615 ************************************************************
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 gross 391 */
12 jgs 474
13 gross 391 #if !defined escript_Utils_H
14     #define escript_Utils_H
15 woo409 757 #include "system_dep.h"
16 gross 391
17     namespace escript {
18    
19     /**
20     \brief
21     some functions
22    
23     */
24    
25     /**
26     \brief
27 ksteube 1247 return the latest SVN version number
28     */
29     ESCRIPT_DLL_API int getSvnVersion();
30    
31     /**
32     \brief
33 gross 391 set the number of threads
34     */
35 woo409 757 ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);
36 gross 391
37     /**
38     \brief
39     returns the number of threads
40     */
41 woo409 757 ESCRIPT_DLL_API int getNumberOfThreads();
42 gross 391
43     } // end of namespace
44     #endif

  ViewVC Help
Powered by ViewVC 1.1.26