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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/escript/src/Utils.h revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC temp/escript/src/Utils.h revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC
# Line 1  Line 1 
1  /*  
2   ******************************************************************************  /* $Id$ */
3   *                                                                            *  
4   *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *  /*******************************************************
5   *                                                                            *   *
6   * This software is the property of ACcESS. No part of this code              *   *           Copyright 2003-2007 by ACceSS MNRF
7   * may be copied in any form or by any means without the expressed written    *   *       Copyright 2007 by University of Queensland
8   * consent of ACcESS.  Copying, use or modification of this software          *   *
9   * by any unauthorised person is illegal unless that person has a software    *   *                http://esscc.uq.edu.au
10   * license agreement with ACcESS.                                             *   *        Primary Business: Queensland, Australia
11   *                                                                            *   *  Licensed under the Open Software License version 3.0
12   ******************************************************************************   *     http://www.opensource.org/licenses/osl-3.0.php
13  */   *
14     *******************************************************/
15    
16  #if !defined  escript_Utils_H  #if !defined  escript_Utils_H
17  #define escript_Utils_H  #define escript_Utils_H
18    #include "system_dep.h"
 #ifdef _OPENMP  
 #include <omp.h>  
 #endif  
19    
20  namespace escript {  namespace escript {
21    
# Line 29  namespace escript { Line 27  namespace escript {
27    
28    /**    /**
29       \brief       \brief
30         return the latest SVN version number
31      */
32      ESCRIPT_DLL_API int getSvnVersion();
33    
34      /**
35         \brief
36       set the number of threads       set the number of threads
37    */    */
38    void setNumberOfThreads(const int num_threads);    ESCRIPT_DLL_API void setNumberOfThreads(const int num_threads);
39    
40    /**    /**
41       \brief       \brief
42       returns  the number of threads       returns  the number of threads
43    */    */
44    int getNumberOfThreads();    ESCRIPT_DLL_API int getNumberOfThreads();
45    
46  } // end of namespace  } // end of namespace
47  #endif  #endif

Legend:
Removed from v.474  
changed lines
  Added in v.1387

  ViewVC Help
Powered by ViewVC 1.1.26