From 4df93b61768b47d3c4527a00f9f4196e32696527 Mon Sep 17 00:00:00 2001 From: Francisco Orlandini Date: Mon, 27 May 2024 18:41:18 -0300 Subject: [PATCH] test sparse mat --- Matrix/TPZYSMPMatrix.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Matrix/TPZYSMPMatrix.cpp b/Matrix/TPZYSMPMatrix.cpp index fc798145a..9d6a2096d 100644 --- a/Matrix/TPZYSMPMatrix.cpp +++ b/Matrix/TPZYSMPMatrix.cpp @@ -213,12 +213,14 @@ void TPZFYsmpMatrix::AddKel(TPZFMatrix&elmat, TPZVec &sourc auto k = fIA[ipos]; const auto maxj = fIA[ipos+1]; const auto source_i = sourceindex[i]; + int64_t *ja_ptr = &fJA[k]; for(auto dummy_j=0;dummy_j::AddKelAtomic(TPZFMatrix&elmat, TPZVec auto k = fIA[ipos]; const auto maxj = fIA[ipos+1]; const auto source_i = sourceindex[i]; + int64_t *ja_ptr = &fJA[k]; for(auto dummy_j=0;dummy_j