ROL
test_17.cpp File Reference

Checks that Coleman-Li BoundConstraint functions agree across implementations. More...

#include "ROL_Stream.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "ROL_Bounds.hpp"
#include "ROL_Constraint.hpp"
#include "ROL_StdBoundConstraint.hpp"
#include "ROL_StdVector.hpp"
#include "ROL_UnaryFunctions.hpp"

Go to the source code of this file.

Functions

RealT calcError (ROL::Vector< RealT > &a, const ROL::Vector< RealT > &b)
int testRandomInputs (int numPoints, RealT tol, ROL::Ptr< std::ostream > outStream)
int testCases (RealT tol, ROL::Ptr< std::ostream > outStream)
int main (int argc, char *argv[])

Detailed Description

Checks that Coleman-Li BoundConstraint functions agree across implementations.

Definition in file function/test_17.cpp.

Function Documentation

◆ calcError()

◆ testRandomInputs()

◆ testCases()

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 267 of file function/test_17.cpp.

References testCases(), and testRandomInputs().