|
ROL
|
Test PartitionedVector functionality. More...
#include "ROL_PartitionedVector.hpp"#include "ROL_StdVector.hpp"#include "ROL_Types.hpp"#include "ROL_Stream.hpp"#include "Teuchos_GlobalMPISession.hpp"Go to the source code of this file.
Functions | |
| template<class Real> | |
| void | print_vector (const ROL::Vector< Real > &x) |
| int | main (int argc, char *argv[]) |
Test PartitionedVector functionality.
Definition in file vector/test_04.cpp.
| void print_vector | ( | const ROL::Vector< Real > & | x | ) |
Definition at line 24 of file vector/test_04.cpp.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 46 of file vector/test_04.cpp.
References ROL::CreatePartitionedVector(), dim, ROL::StdVector< Real, Element >::norm(), print_vector(), and ROL::ROL_THRESHOLD().