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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 391 - (show annotations)
Tue Dec 20 05:36:50 2005 UTC (13 years, 11 months ago) by gross
File MIME type: text/plain
File size: 1309 byte(s)
intreface for setting the number of threads from python
1 /*
2 ******************************************************************************
3 * *
4 * COPYRIGHT ACcESS 2004 - All Rights Reserved *
5 * *
6 * This software is the property of ACcESS. No part of this code *
7 * may be copied in any form or by any means without the expressed written *
8 * consent of ACcESS. Copying, use or modification of this software *
9 * by any unauthorised person is illegal unless that person has a software *
10 * license agreement with ACcESS. *
11 * *
12 ******************************************************************************
13 */
14
15 #if !defined escript_Utils_H
16 #define escript_Utils_H
17
18
19 namespace escript {
20
21 /**
22 \brief
23 some functions
24
25 */
26
27 /**
28 \brief
29 set the number of threads
30 */
31 void setNumberOfThreads(const int num_threads);
32
33 /**
34 \brief
35 returns the number of threads
36 */
37 int getNumberOfThreads();
38
39 } // end of namespace
40 #endif

  ViewVC Help
Powered by ViewVC 1.1.26