From a124273fda4b1a7e3cf0a89f6157e0633b09d97a Mon Sep 17 00:00:00 2001 From: Bruno Seny <bruno.seny@student.uclouvain.be> Date: Thu, 4 Jul 2013 09:38:29 +0000 Subject: [PATCH] comment functions which causes bug with PETSC --- Solver/linearSystemPETSc.h | 4 ++-- Solver/linearSystemPETSc.hpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Solver/linearSystemPETSc.h b/Solver/linearSystemPETSc.h index 3d28023c44..040b062a50 100644 --- a/Solver/linearSystemPETSc.h +++ b/Solver/linearSystemPETSc.h @@ -85,8 +85,8 @@ class linearSystemPETSc : public linearSystem<scalar> { virtual int systemSolve(); Mat &getMatrix(){ return _a; } //std::vector<scalar> getData(); - std::vector<int> getRowPointers(); - std::vector<int> getColumnsIndices(); + //std::vector<int> getRowPointers(); + //std::vector<int> getColumnsIndices(); #ifndef SWIG linearSystemPETSc(MPI_Comm com); MPI_Comm& getComm() {return _comm;} diff --git a/Solver/linearSystemPETSc.hpp b/Solver/linearSystemPETSc.hpp index ecafc8af35..f723536b5a 100644 --- a/Solver/linearSystemPETSc.hpp +++ b/Solver/linearSystemPETSc.hpp @@ -370,7 +370,7 @@ std::vector<scalar> linearSystemPETSc<scalar>::getData() _try(MatRestoreArray(_a,&v)); return data; }*/ - +/* template <class scalar> std::vector<int> linearSystemPETSc<scalar>::getRowPointers() { @@ -406,4 +406,5 @@ std::vector<int> linearSystemPETSc<scalar>::getColumnsIndices() _try(MatRestoreRowIJ(_a,0,PETSC_FALSE,PETSC_FALSE,&n,&rows,&columns,&done)); return columnIndices; } +*/ #endif -- GitLab