27 #ifndef OOMPH_MATRIX_VECTOR_PRODUCT_HEADER
28 #define OOMPH_MATRIX_VECTOR_PRODUCT_HEADER
33 #include <oomph-lib-config.h>
38 #ifdef OOMPH_HAS_TRILINOS
57 #ifdef OOMPH_HAS_TRILINOS
79 #ifdef OOMPH_HAS_TRILINOS
80 delete Epetra_matrix_pt;
116 #ifdef OOMPH_HAS_TRILINOS
121 void trilinos_multiply_transpose_helper(
const DoubleVector&
x,
125 Epetra_CrsMatrix* Epetra_matrix_pt;
Definition: matrices.h:888
Definition: linear_algebra_distribution.h:435
Definition: double_vector.h:58
Definition: linear_algebra_distribution.h:64
Definition: matrix_vector_product.h:51
void multiply_transpose(const DoubleVector &x, DoubleVector &y) const
Definition: matrix_vector_product.cc:177
MatrixVectorProduct(const MatrixVectorProduct &)=delete
Broken copy constructor.
void clean_up_memory()
clear the memory
Definition: matrix_vector_product.h:77
CRDoubleMatrix * Oomph_matrix_pt
an oomph-lib matrix
Definition: matrix_vector_product.h:133
LinearAlgebraDistribution * Column_distribution_pt
Definition: matrix_vector_product.h:137
const unsigned & ncol() const
Access function to the number of columns.
Definition: matrix_vector_product.h:110
void multiply(const DoubleVector &x, DoubleVector &y) const
Definition: matrix_vector_product.cc:108
bool Using_trilinos
Definition: matrix_vector_product.h:130
~MatrixVectorProduct()
Destructor.
Definition: matrix_vector_product.h:71
unsigned Ncol
number of columns of the matrix
Definition: matrix_vector_product.h:140
void setup(CRDoubleMatrix *matrix_pt, const LinearAlgebraDistribution *col_dist_pt=0)
Definition: matrix_vector_product.cc:41
MatrixVectorProduct()
Constructor.
Definition: matrix_vector_product.h:54
void operator=(const MatrixVectorProduct &)=delete
Broken assignment operator.
Scalar * y
Definition: level1_cplx_impl.h:128
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10
list x
Definition: plotDoE.py:28