changed: put assemPETScPara under #ifdef PARALLEL_PETSC

quells warning that was emitted when compiling without parallel petsc
support

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1009 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva
2011-05-24 08:04:31 +00:00
committed by Knut Morten Okstad
parent dcd55dc7de
commit 6c944f66b1

View File

@@ -209,6 +209,7 @@ PETScMatrix::~PETScMatrix ()
}
#ifdef PARALLEL_PETSC
static void assemPETScPara (const Matrix& eM, Mat SM, PETScVector& SV,
const std::vector<int>& meen, const int* meqn,
const int* mpmceq, const int* mmceq,
@@ -273,6 +274,7 @@ static void assemPETScPara (const Matrix& eM, Mat SM, PETScVector& SV,
delete[] l2g;
}
#endif
static void assemPETSc (const Matrix& eM, Mat SM, PETScVector& SV,