From e5a47e18cf0d2c0dd427a46749efd804e2eb66d8 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Fri, 25 Nov 2016 19:11:08 +0100 Subject: [PATCH] The 2D and 3D laplacian are even Hermitian and not only Symmetric (Allows for more testings) --- z_spm_laplacian.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/z_spm_laplacian.c b/z_spm_laplacian.c index cc9cb89c..eeb5b21d 100644 --- a/z_spm_laplacian.c +++ b/z_spm_laplacian.c @@ -146,7 +146,7 @@ z_spmLaplacian2D( pastix_spm_t *spm, pastix_int_t i, j, k; pastix_int_t nnz = (2*(dim1)-1)*dim2 + (dim2-1)*dim1; - spm->mtxtype = PastixSymmetric; + spm->mtxtype = PastixHermitian; spm->flttype = PastixComplex64; spm->fmttype = PastixCSC; spm->gnnz = nnz; @@ -262,7 +262,7 @@ z_spmLaplacian3D( pastix_spm_t *spm, pastix_int_t i, j, k, l; pastix_int_t nnz = (2*(dim1)-1)*dim2*dim3 + (dim2-1)*dim1*dim3 + dim2*dim1*(dim3-1); - spm->mtxtype = PastixSymmetric; + spm->mtxtype = PastixHermitian; spm->flttype = PastixComplex64; spm->fmttype = PastixCSC; spm->gnnz = nnz; -- GitLab