ROL
Typedefs | Functions
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.

Typedefs

typedef double RealT
 

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.

Typedef Documentation

◆ RealT

typedef double RealT

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

Function Documentation

◆ calcError()

RealT calcError ( ROL::Vector< RealT > & a,
const ROL::Vector< RealT > & b )

◆ testRandomInputs()

int testRandomInputs ( int numPoints,
RealT tol,
ROL::Ptr< std::ostream > outStream )

◆ testCases()

int testCases ( RealT tol,
ROL::Ptr< std::ostream > outStream )

◆ main()

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

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

References testCases(), and testRandomInputs().