20 #ifndef LIBMESH_TENSOR_SHELL_MATRIX_H 21 #define LIBMESH_TENSOR_SHELL_MATRIX_H 25 #include "libmesh/libmesh_common.h" 26 #include "libmesh/reference_counted_object.h" 27 #include "libmesh/libmesh.h" 28 #include "libmesh/shell_matrix.h" 29 #include "libmesh/numeric_vector.h" 104 template <
typename T>
113 template <
typename T>
124 #endif // LIBMESH_TENSOR_SHELL_MATRIX_H virtual numeric_index_type m() const override
const NumericVector< T > & _w
The row vector.
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.
Provides a uniform interface to vector storage schemes for different linear algebra libraries...
The libMesh namespace provides an interface to certain functionality in the library.
virtual void get_diagonal(NumericVector< T > &dest) const override
Copies the diagonal part of the matrix into dest.
virtual ~TensorShellMatrix()
Destructor.
Shell matrix that is given by a tensor product of two vectors, i.e.
dof_id_type numeric_index_type
TensorShellMatrix(const NumericVector< T > &v, const NumericVector< T > &w)
Constructor; takes references to the two vectors as arguments.
virtual void vector_mult(NumericVector< T > &dest, const NumericVector< T > &arg) const override
Multiplies the matrix with arg and stores the result in dest.
virtual numeric_index_type n() const override
const NumericVector< T > & _v
The column vector.
Generic shell matrix, i.e.