21#include "libmesh/sparse_shell_matrix.h"
30 _m.vector_mult(dest,arg);
39 _m.vector_mult_add(dest,arg);
Provides a uniform interface to vector storage schemes for different linear algebra libraries.
This class allows to use any SparseMatrix object as a shell matrix.
virtual void vector_mult_add(NumericVector< T > &dest, const NumericVector< T > &arg) const override
Multiplies the matrix with arg and adds the result to dest.
virtual void vector_mult(NumericVector< T > &dest, const NumericVector< T > &arg) const override
Multiplies the matrix with arg and stores the result in dest.
The libMesh namespace provides an interface to certain functionality in the library.