Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
ValueTolerance is a struct to keep a tuple of value and a tolerance. The tolerance can be either expressed as a relative or through an upper and lower bound. More...
#include <Teuchos_XMLPerfTestArchive.hpp>
Public Member Functions | |
ValueTolerance () | |
ValueTolerance (double val, double tol) | |
ValueTolerance (double val, double low, double up) | |
ValueTolerance (std::string str) | |
bool | operator== (ValueTolerance &rhs) |
std::string | as_string () |
void | from_string (const std::string &valtol_str) |
Public Attributes | |
double | value |
double | lower |
double | upper |
double | tolerance |
bool | use_tolerance |
ValueTolerance is a struct to keep a tuple of value and a tolerance. The tolerance can be either expressed as a relative or through an upper and lower bound.
Definition at line 131 of file Teuchos_XMLPerfTestArchive.hpp.
Teuchos::ValueTolerance::ValueTolerance | ( | ) |
Definition at line 58 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | double | val, |
double | tol | ||
) |
Definition at line 66 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | double | val, |
double | low, | ||
double | up | ||
) |
Definition at line 74 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | std::string | str | ) |
Definition at line 82 of file Teuchos_XMLPerfTestArchive.cpp.
bool Teuchos::ValueTolerance::operator== | ( | ValueTolerance & | rhs | ) |
Definition at line 86 of file Teuchos_XMLPerfTestArchive.cpp.
std::string Teuchos::ValueTolerance::as_string | ( | ) |
Definition at line 94 of file Teuchos_XMLPerfTestArchive.cpp.
void Teuchos::ValueTolerance::from_string | ( | const std::string & | valtol_str | ) |
Definition at line 103 of file Teuchos_XMLPerfTestArchive.cpp.
double Teuchos::ValueTolerance::value |
Definition at line 132 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::lower |
Definition at line 133 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::upper |
Definition at line 134 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::tolerance |
Definition at line 135 of file Teuchos_XMLPerfTestArchive.hpp.
bool Teuchos::ValueTolerance::use_tolerance |
Definition at line 136 of file Teuchos_XMLPerfTestArchive.hpp.