52 #include "Teuchos_GlobalMPISession.hpp"
58 int main(
int argc,
char *argv[]) {
63 typedef std::vector<RealT> vector;
68 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
70 int iprint = argc - 1;
71 ROL::Ptr<std::ostream> outStream;
74 outStream = ROL::makePtrFromRef(std::cout);
76 outStream = ROL::makePtrFromRef(bhs);
83 catch (std::logic_error& err) {
84 *outStream << err.what() <<
"\n";
89 std::cout <<
"End Result: TEST FAILED\n";
91 std::cout <<
"End Result: TEST PASSED\n";
typename PV< Real >::size_type size_type
Defines a no-output stream class ROL::NullStream and a function makeStreamPtr which either wraps a re...
Provides the ROL::Vector interface for scalar values, to be used, for example, with scalar constraint...
basic_nullstream< char, char_traits< char >> nullstream
int main(int argc, char *argv[])