Utils.cpp File Reference

#include <string.h>
#include "Utils.h"
#include "DataVector.h"
#include <unistd.h>

Namespaces

namespace  escript

Functions

int escript::getSvnVersion ()
 some functions
int escript::get_core_id ()
void escript::printParallelThreadCnt ()
 print a message about how many MPI CPUs and OpenMP threads we're using
void escript::setNumberOfThreads (const int num_threads)
 set the number of threads
int escript::getNumberOfThreads ()
 returns the number of threads
int escript::getMPISizeWorld ()
 returns the total number of available MPI processes for MPI_COMM_WORLD
int escript::getMPIRankWorld ()
 returns the MPI processor number within MPI_COMM_WORLD
int escript::getMPIWorldMax (const int val)
 returns the maximum value of an integer over all processors within MPI_COMM_WORLD
double escript::getMachinePrecision ()
 returns machine precision
double escript::getMaxFloat ()
void escript::MPIBarrierWorld ()
 performs a barrier synchronization across all processors.

Generated on Mon Aug 10 10:04:44 2009 for ESYS13 by  doxygen 1.5.6