jorgensd / jorgensd/dolfinx-tutorial

Rethink nullspace tutorials

Open
#286 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
166
Forks
89
Avg merge
3h 25m
Merged PRs (30d)
2

Description

**Direct solver**
PETSc does magic after the fact with nullspace information, which is "correct", but mumps might fail if
icntl_24:1 and inctl_25: 0 is not set for more complex spaces.

**Iterative solver**
Hypre/Boomeramg ignores the near nullspace if
"pc_hypre_boomeramg_nodal_coarsen": (1-6)
"pc_hypre_boomeramg_vec_interp_variant": (1-3)
is not set.

Thus currently has no effect.

Should consider a two stage approach, stating that constant nullspace is "trivial", and make another one for elasticity,
following guidelines form either:
https://colab.research.google.com/github/firedrakeproject/notebooks/blob/main/03-elasticity.ipynb
or
https://docs.mfem.org/4.8/hypre_8cpp_source.html#l05296
for option tests.

Since the problems are symmetric, Im not sure why I chose gmres and not cg ...

Discussed with @MariusCausemann

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.