17 #ifndef __ESCRIPT_UTILS_H__ 18 #define __ESCRIPT_UTILS_H__ 21 #include <boost/python/dict.hpp> 23 #ifdef ESYS_HAVE_BOOST_NUMPY 24 #include <boost/python/numpy.hpp> 106 boost::python::dict arg,
107 const std::string& sep,
108 const std::string& csep,
112 #ifdef ESYS_HAVE_BOOST_NUMPY 130 #endif // __ESCRIPT_UTILS_H__ int getSvnVersion()
some functions
Definition: Utils.cpp:42
void saveDataCSV(const std::string &filename, bp::dict arg, const std::string &sep, const std::string &csep, bool refid, bool append)
Definition: Utils.cpp:387
void getNumpy(bp::dict arg)
Definition: Utils.cpp:919
Definition: AbstractContinuousDomain.cpp:22
void resolveGroup(bp::object obj)
Definition: Utils.cpp:924
int runMPIProgram(bp::list args)
Definition: Utils.cpp:311
int getMPISizeWorld()
returns the total number of available MPI processes for MPI_COMM_WORLD
Definition: Utils.cpp:93
int getMPIWorldSum(int val)
returns sum of an integer over all processors with MPI_COMM_WORLD
Definition: Utils.cpp:123
int getNumberOfThreads()
returns the number of threads
Definition: Utils.cpp:84
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:29
double getMachinePrecision()
returns the machine precision
Definition: Utils.cpp:366
void printParallelThreadCnt()
print a message about how many MPI CPUs and OpenMP threads we're using
Definition: Utils.cpp:135
int getMPIWorldMax(int val)
returns the maximum value of an integer over all processors within MPI_COMM_WORLD ...
Definition: Utils.cpp:111
void setNumberOfThreads(int num_threads)
set the number of threads
Definition: Utils.cpp:77
double getMaxFloat()
Definition: Utils.cpp:371
int getMPIRankWorld()
returns the MPI processor number within MPI_COMM_WORLD
Definition: Utils.cpp:102
void MPIBarrierWorld()
performs a barrier synchronization across all processors.
Definition: Utils.cpp:376