50 const int local_num_options = 2;
57 const char* local_SOptions[local_num_options] = {
64 namespace ConstrainedOptPack {
68 ,
const char opt_grp_name[] )
69 : OptionsFromStreamPack::SetOptionsFromStreamNode(
70 opt_grp_name, local_num_options, local_SOptions )
71 , OptionsFromStreamPack::SetOptionsToTargetBase<
81 target().warning_tol(std::fabs(std::atof(option_value.c_str())));
84 target().error_tol(std::fabs(std::atof(option_value.c_str())));
VariableBoundsTesterSetOptions(VariableBoundsTester *target=0, const char opt_grp_name[]="VariableBoundsTester")
VariableBoundsTester & target()
Tests that a set of variables are within their bounds.
void setOption(int option_num, const std::string &option_value)
Overridden from SetOptionsFromStreamNode.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
const std::string & option_value(OptionsGroup::const_iterator &itr)