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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user