44 #ifndef ROL_STDEPETRABATCHMANAGER_HPP
45 #define ROL_STDEPETRABATCHMANAGER_HPP
57 Teuchos::RCP<std::vector<Real> > input_ptr = Teuchos::rcp_const_cast<std::vector<Real> >(
59 Teuchos::RCP<std::vector<Real> > output_ptr = Teuchos::rcp_const_cast<std::vector<Real> >(
61 int dim_i = input_ptr->size();
62 int dim_o = output_ptr->size();
63 if ( dim_i != dim_o ) {
64 std::cout <<
"StdEpetraBatchManager: DIMENSION MISMATCH ON RANK "
Defines the linear algebra or vector space interface.
Provides the std::vector implementation of the ROL::Vector interface.
void sumAll(Real *input, Real *output, int dim)
StdEpetraBatchManager(Teuchos::RCP< Epetra_Comm > &comm)
void sumAll(Vector< Real > &input, Vector< Real > &output)