30 libmesh_assert(!matrices.empty());
33 for (std::size_t i=1; i<matrices.size(); ++i)
34 libmesh_assert_equal_to (matrices[i]->m(), n_rows);
44 libmesh_assert(!matrices.empty());
47 for (std::size_t i=1; i<matrices.size(); ++i)
48 libmesh_assert_equal_to (matrices[i]->n(), n_cols);
60 this->vector_mult_add(dest,arg);
69 for (std::size_t i=0; i<matrices.size(); ++i)
70 matrices[i]->vector_mult_add(dest, arg);
78 std::unique_ptr<NumericVector<T>> a = dest.
zero_clone();
79 for (std::size_t i=0; i<matrices.size(); ++i)
81 matrices[i]->get_diagonal(*a);
virtual std::unique_ptr< NumericVector< T > > zero_clone() const =0
Provides a uniform interface to vector storage schemes for different linear algebra libraries...
virtual numeric_index_type n() const override
virtual numeric_index_type m() const override
virtual void vector_mult_add(NumericVector< T > &dest, const NumericVector< T > &arg) const override
dof_id_type numeric_index_type
virtual void vector_mult(NumericVector< T > &dest, const NumericVector< T > &arg) const override
virtual void get_diagonal(NumericVector< T > &dest) const override