Skip to content
Snippets Groups Projects
Commit a124273f authored by Bruno Seny's avatar Bruno Seny
Browse files

comment functions which causes bug with PETSC

parent 131eca9b
No related branches found
No related tags found
No related merge requests found
......@@ -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;}
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment