#include <Utilities.h>
|
static void | abort (const std::string &message, const std::string &filename, int line) |
| Cleanly ends the program when something horrible happened and prints a message about what took place. Takes into account whether MPI is or isn't running to decide how to die. More...
|
|
static std::string | processorToString (int processorID) |
| Converts a processor ID to a string. Use this to ensure same width is used when converting a processor ID to a string representation. More...
|
|
Struct BasisGenerator defines Utilities contains basic, static, utility routines for error reporting, string manipulations, etc.
static void CAROM::Utilities::abort |
( |
const std::string & |
message, |
|
|
const std::string & |
filename, |
|
|
int |
line |
|
) |
| |
|
static |
Cleanly ends the program when something horrible happened and prints a message about what took place. Takes into account whether MPI is or isn't running to decide how to die.
- Parameters
-
[in] | message | Message to print about the cause of the abort. |
[in] | filename | Name of the file where the abort was called. |
[in] | line | Line number in the file where the abort was called. |
static std::string CAROM::Utilities::processorToString |
( |
int |
processorID | ) |
|
|
static |
Converts a processor ID to a string. Use this to ensure same width is used when converting a processor ID to a string representation.
- Parameters
-
[in] | processorID | of the processor |
- Returns
- The string representation of processor ID of fixed width prepended with 0s.
The documentation for this struct was generated from the following file: