#include <winstd.H>#include <iostream>#include <string>#include <sys/types.h>#include <sys/wait.h>#include <BLassert.H>#include <REAL.H>


Go to the source code of this file.
Namespaces | |
| namespace | BoxLib |
Classes | |
| class | BoxLib::Time |
| class | BoxLib::base_Timer< FCN > |
| class | BoxLib::mt19937 |
| class | BoxLib::expect |
Defines | |
| #define | BL_IGNORE_MAX 100000 |
| BL is a macro that expands to the literal value 100000. | |
Typedefs | |
| typedef base_Timer < BoxLib::wsecond > | BoxLib::WallTimer |
| typedef base_Timer < BoxLib::second > | BoxLib::CPUTimer |
Functions | |
| double | BoxLib::second (double *t=0) |
| Returns the total user and system time used by the calling process up to the point of the call. | |
| double | BoxLib::wsecond (double *t=0) |
| Returns the current time as the number of microseconds relative to program startup. | |
| void | BoxLib::ResetWallClockTime () |
| Reset start of Wall Clock Time for wsecond() to NOW. | |
| bool | BoxLib::is_integer (const char *str) |
| Return true if argument is a non-zero length string of digits. | |
| std::string | BoxLib::Concatenate (const std::string &root, int num) |
| Returns rootNNNN where NNNN == num. | |
| bool | BoxLib::UtilCreateDirectory (const std::string &path, mode_t mode) |
| Creates the specified directories. | |
| void | BoxLib::CreateDirectoryFailed (const std::string &dir) |
| Output a message and abort when couldn't create the directory. | |
| void | BoxLib::FileOpenFailed (const std::string &dir) |
| Output a message and abort when couldn't open the file. | |
| void | BoxLib::UnlinkFile (const std::string &file) |
| Attempt to unlink the file. Ignore any errors. | |
| void | BoxLib::OutOfMemory () |
| Aborts after printing message indicating out-of-memory; i.e. | |
| double | BoxLib::Random () |
| Mersenne Twister pseudo-random number generator. | |
| void | BoxLib::InitRandom (unsigned long seed) |
| Set the seed of the random number generator. | |
| pid_t | BoxLib::Execute (const char *cmd) |
| Try to execute a shell command in a subshell. | |
| template<double(*)(double *) FCN> | |
| std::ostream & | BoxLib::operator<< (std::ostream &, const base_Timer< FCN > &) |
| std::istream & | BoxLib::operator>> (std::istream &, const expect &exp) |
| template<double(*)(double *) FCN> | |
| std::ostream & | operator<< (std::ostream &os, const BoxLib::base_Timer< FCN > &bt) |
| #define BL_IGNORE_MAX 100000 |
BL is a macro that expands to the literal value 100000.
It is defined when compiling either Fortran or C++ code; i.e. when either BL or BL is defined. It is used in calls to istream::ignore() in the BoxLib code when reading in characters from an istream. We use this macro instead of the more proper INT from <limits.h> since at least one compiler didn't work properly when istream::ignore() was passed INT.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const BoxLib::base_Timer< FCN > & | bt | |||
| ) | [inline] |
1.5.5