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 6fdea22a authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Add nullspace support on the level of PETSc solver object.

parent 6f7099bc
......@@ -167,7 +167,8 @@ namespace AMDiS {
TEST_EXIT(i_key >= 0)
("macro file %s must not contain key %s on line %d\n",
filename.c_str(), key, line_no);
TEST_EXIT(!key_def[i_key])("key %s defined second time on line %d in file %s\n");
("key %s defined second time on line %d in file %s\n");
sort_key[n_keys++] = i_key;
key_def[i_key] = true;
......@@ -127,6 +127,19 @@ namespace AMDiS {
/// Sets the nullspace to be constant for some specific components.
void setConstantNullspace(vector<int> &components)
constNullspaceComponent = components;
/// Sets the nullspace to be constant for a specific component.
void setConstantNullspace(int component)
inline bool isCoarseSpace(const FiniteElemSpace *feSpace,
DegreeOfFreedom dof)
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