18 #include "Teuchos_GlobalMPISession.hpp"
24 int main(
int argc,
char *argv[]) {
29 typedef std::vector<RealT> vector;
34 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
36 int iprint = argc - 1;
37 ROL::Ptr<std::ostream> outStream;
40 outStream = ROL::makePtrFromRef(std::cout);
42 outStream = ROL::makePtrFromRef(bhs);
49 catch (std::logic_error& err) {
50 *outStream << err.what() <<
"\n";
55 std::cout <<
"End Result: TEST FAILED\n";
57 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[])