Liebe Gitlab-Nutzerin, lieber Gitlab-Nutzer,
es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Die Konten der externen Nutzer:innen sind über den Reiter "Standard" erreichbar.
Die Administratoren


Dear Gitlab user,
it is now possible to log in to our service using the ZIH login/LDAP. The accounts of external users can be accessed via the "Standard" tab.
The administrators

Commit f4315aa6 authored by Sebastian Aland's avatar Sebastian Aland
Browse files

removed KSPSetNullSpace to make compatible with PETSc 3.6

parent 0fea5d82
......@@ -1825,7 +1825,9 @@ namespace AMDiS { namespace Parallel {
MatNullSpaceCreate(domainComm, PETSC_FALSE, 1, &nullSpaceBasis,
&matNullSpace);
MatSetNullSpace(mat_feti, matNullSpace);
KSPSetNullSpace(ksp_feti, matNullSpace);
Mat amat, pmat;
KSPGetOperators(ksp, &amat, &pmat);
MatSetNullSpace(amat, matNullSpace);
MatNullSpaceDestroy(&matNullSpace);
VecDestroy(&ktest0);
......
......@@ -951,7 +951,10 @@ namespace AMDiS { namespace Parallel {
MatNullSpace matNullSpace;
MatNullSpaceCreate(domainComm, PETSC_FALSE, 1, &nullSpaceBasis, &matNullSpace);
KSPSetNullSpace(ksp, matNullSpace);
Mat amat, pmat;
KSPGetOperators(ksp, &amat, &pmat);
MatSetNullSpace(amat, matNullSpace);
MatNullSpaceDestroy(&matNullSpace);
VecDestroy(&nullSpaceBasis);
......@@ -962,7 +965,9 @@ namespace AMDiS { namespace Parallel {
{
MatNullSpace matNullSpace;
MatNullSpaceCreate(domainComm, PETSC_TRUE, 0, PETSC_NULL, &matNullSpace);
KSPSetNullSpace(ksp, matNullSpace);
Mat amat, pmat;
KSPGetOperators(ksp, &amat, &pmat);
MatSetNullSpace(amat, matNullSpace);
MatNullSpaceDestroy(&matNullSpace);
}
......
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