/[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

revision 1805 by ksteube, Wed Sep 24 23:39:00 2008 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2009 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #if !defined  escript_Utils_H  #if !defined  escript_Utils_H
16  #define escript_Utils_H  #define escript_Utils_H
# Line 60  namespace escript { Line 59  namespace escript {
59       returns the MPI processor number within MPI_COMM_WORLD       returns the MPI processor number within MPI_COMM_WORLD
60    */    */
61    ESCRIPT_DLL_API int getMPIRankWorld();    ESCRIPT_DLL_API int getMPIRankWorld();
62      /**
63         \brief
64         returns the maximum value of an integer over all processors within MPI_COMM_WORLD
65      */
66      ESCRIPT_DLL_API int getMPIWorldMax(const int val);
67    
68    
69      /**
70        \brief performs a barrier synchronization across all processors.
71      */
72    
73      ESCRIPT_DLL_API void MPIBarrierWorld();
74    
75     /**
76        \brief
77        returns machine precision
78     */
79     ESCRIPT_DLL_API double getMachinePrecision();
80     /*
81       \brief
82       return largest positive float
83     */
84     ESCRIPT_DLL_API double getMaxFloat();
85    
86  } // end of namespace  } // end of namespace
87  #endif  #endif

Legend:
Removed from v.1805  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26