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 99 of file Teuchos_XMLPerfTestArchive.hpp.
Teuchos::ValueTolerance::ValueTolerance | ( | ) |
Definition at line 25 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | double | val, |
double | tol | ||
) |
Definition at line 33 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | double | val, |
double | low, | ||
double | up | ||
) |
Definition at line 41 of file Teuchos_XMLPerfTestArchive.cpp.
Teuchos::ValueTolerance::ValueTolerance | ( | std::string | str | ) |
Definition at line 49 of file Teuchos_XMLPerfTestArchive.cpp.
bool Teuchos::ValueTolerance::operator== | ( | ValueTolerance & | rhs | ) |
Definition at line 53 of file Teuchos_XMLPerfTestArchive.cpp.
std::string Teuchos::ValueTolerance::as_string | ( | ) |
Definition at line 61 of file Teuchos_XMLPerfTestArchive.cpp.
void Teuchos::ValueTolerance::from_string | ( | const std::string & | valtol_str | ) |
Definition at line 70 of file Teuchos_XMLPerfTestArchive.cpp.
double Teuchos::ValueTolerance::value |
Definition at line 100 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::lower |
Definition at line 101 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::upper |
Definition at line 102 of file Teuchos_XMLPerfTestArchive.hpp.
double Teuchos::ValueTolerance::tolerance |
Definition at line 103 of file Teuchos_XMLPerfTestArchive.hpp.
bool Teuchos::ValueTolerance::use_tolerance |
Definition at line 104 of file Teuchos_XMLPerfTestArchive.hpp.