#include <Teuchos_Utils.hpp>
Static Public Member Functions | |
| static void | aboutBuild () |
| print a description of the current build. | |
| static double | chop (const double &x) |
Set a number to zero if it is less than getChopVal(). | |
| static double | getChopVal () |
| Get the chopping value, below which numbers are considered to be zero. | |
| static void | setChopVal (double chopVal) |
| Set the chopping value, below which numbers are considered to be zero. | |
| static bool | isWhiteSpace (const char c) |
| Determine if a char is whitespace or not. | |
| static std::string | trimWhiteSpace (const std::string &str) |
| Trim whitespace from beginning and end of std::string. | |
| static std::string | toString (const double &x) |
| Write a double as a std::string. | |
| static std::string | toString (const int &x) |
| Write an int as a std::string. | |
| static std::string | toString (const unsigned int &x) |
| Write an unsigned int as a std::string. | |
| static double | pi () |
| pi. | |
| static std::string | getParallelExtension (int procRank=-1, int numProcs=-1) |
| Get a parallel file name extention . | |
Related Functions | |
| (Note that these are not member functions.) | |
| std::string | toString (const std::string &x) |
Definition at line 46 of file Teuchos_Utils.hpp.
| static void Teuchos::Utils::aboutBuild | ( | ) | [static] |
print a description of the current build.
| double Teuchos::Utils::chop | ( | const double & | x | ) | [static] |
Set a number to zero if it is less than getChopVal().
Definition at line 36 of file Teuchos_Utils.cpp.
| static double Teuchos::Utils::getChopVal | ( | ) | [inline, static] |
Get the chopping value, below which numbers are considered to be zero.
Definition at line 59 of file Teuchos_Utils.hpp.
| std::string Teuchos::Utils::getParallelExtension | ( | int | procRank = -1, |
|
| int | numProcs = -1 | |||
| ) | [static] |
| static bool Teuchos::Utils::isWhiteSpace | ( | const char | c | ) | [inline, static] |
| static double Teuchos::Utils::pi | ( | ) | [inline, static] |
| static void Teuchos::Utils::setChopVal | ( | double | chopVal | ) | [inline, static] |
Set the chopping value, below which numbers are considered to be zero.
Definition at line 63 of file Teuchos_Utils.hpp.
| std::string toString | ( | const unsigned int & | x | ) | [inline, static] |
| std::string toString | ( | const int & | x | ) | [inline, static] |
| std::string toString | ( | const double & | x | ) | [inline, static] |
| std::string Teuchos::Utils::trimWhiteSpace | ( | const std::string & | str | ) | [static] |
Trim whitespace from beginning and end of std::string.
Definition at line 42 of file Teuchos_Utils.cpp.
| std::string toString | ( | const std::string & | x | ) | [related] |
Definition at line 108 of file Teuchos_Utils.hpp.
1.5.9