44 #ifndef ROLSTDTEUCHOSBATCHMANAGER_HPP 45 #define ROLSTDTEUCHOSBATCHMANAGER_HPP 52 template<
class Real,
class Ordinal>
58 Teuchos::RCP<std::vector<Real> > input_ptr = Teuchos::rcp_const_cast<std::vector<Real> >(
60 Teuchos::RCP<std::vector<Real> > output_ptr = Teuchos::rcp_const_cast<std::vector<Real> >(
62 int dim_i = input_ptr->size();
63 int dim_o = output_ptr->size();
64 if ( dim_i != dim_o ) {
65 std::cout <<
"StdEpetraBatchManager: DIMENSION MISMATCH ON RANK "
Defines the linear algebra or vector space interface.
StdTeuchosBatchManager(const Teuchos::RCP< const Teuchos::Comm< Ordinal > > &comm)
void sumAll(Real *input, Real *output, int dim)
void sumAll(Vector< Real > &input, Vector< Real > &output)