Commit e66b40ab authored by Christophe Geuzaine's avatar Christophe Geuzaine

Merge branch 'nleigs2' into 'master'

NLeig should now work with nightly build versions of slepc (we do not need to ask for dev version)

See merge request !52
parents 0a564b6e a7552dcc
Pipeline #2007 passed with stage
in 9 minutes and 39 seconds
......@@ -794,9 +794,9 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
double shift_r, double shift_i, int filterExpressionIndex,
List_T *RationalCoefsNum, List_T *RationalCoefsDen)
{
#if (PETSC_VERSION_RELEASE != 0)
Message::Error("You need PETSc/SLEPc dev for nonlinear EVP support!");
#else
// #if (PETSC_VERSION_RELEASE != 0)
// Message::Error("You need PETSc/SLEPc dev for nonlinear EVP support!");
// #else
NEP nep;
NEPType type;
int max_Nchar = 1000;
......@@ -992,7 +992,7 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
_storeEigenVectors(DofData_P, nconv, PETSC_NULL, PETSC_NULL, nep, filterExpressionIndex);
_try(NEPDestroy(&nep));
#endif
// #endif
}
void EigenSolve_SLEPC(struct DofData * DofData_P, int numEigenValues,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment