ROL
|
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "ODEConstraint_TimeSimOpt.hpp"
#include "ROL_Constraint_PinTSimOpt.hpp"
Go to the source code of this file.
Typedefs | |
typedef double | Real |
Functions | |
double | run_test (MPI_Comm comm, const ROL::Ptr< std::ostream > &outStream, int numSteps) |
int | main (int argc, char *argv[]) |
typedef double Real |
Definition at line 51 of file function/constraint/test_04.cpp.
double run_test | ( | MPI_Comm | comm, |
const ROL::Ptr< std::ostream > & | outStream, | ||
int | numSteps | ||
) |
Run the test using a different communicator. This returns the last value of the last step for the 'u' variable defined in the ODEConstraint_TimeSimOpt class.
Definition at line 139 of file function/constraint/test_04.cpp.
References ROL::buildPinTVector(), and ROL::StdVector< Real, Element >::getVector().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 59 of file function/constraint/test_04.cpp.
References run_test().