Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e5a47e18 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

The 2D and 3D laplacian are even Hermitian and not only Symmetric (Allows for more testings)

parent 36b1717c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment