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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 474 - (hide annotations)
Mon Jan 30 04:23:44 2006 UTC (13 years, 10 months ago) by jgs
File MIME type: text/plain
File size: 1273 byte(s)
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly

1 gross 391 /*
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 jgs 474
15 gross 391 #if !defined escript_Utils_H
16     #define escript_Utils_H
17    
18 jgs 474 #ifdef _OPENMP
19     #include <omp.h>
20     #endif
21 gross 391
22     namespace escript {
23    
24     /**
25     \brief
26     some functions
27    
28     */
29    
30     /**
31     \brief
32     set the number of threads
33     */
34     void setNumberOfThreads(const int num_threads);
35    
36     /**
37     \brief
38     returns the number of threads
39     */
40     int getNumberOfThreads();
41    
42     } // end of namespace
43     #endif

  ViewVC Help
Powered by ViewVC 1.1.26