AMG preconditioning with physically distinct entities
(This topic came up before in https:/
This came up when solving a complex-valued problem with Dolfin. As is known, Dolfin doesn't support complex scalars, so the problem has to be converted into a real-imaginary formulation first. What comes out of this is a 2x2-block matrix (meaning that the matrix is made up from tiny little 2x2 blocks). Those type of block matrices come up whenever there are multidimensional entities living on the vertices (e.g., vectors).
What geometric multigrid naturally avoids is a mixing of the values of any of those separate entities, and AMG typically wants to do the same thing. Trilinos' ML has the option "PDE equations" for this; not sure about PETSc.
I suppose the easiest way to address this is would be to expose that option to the user.
I suppose it would also be possible to have this parameter automatically set by determining the (geometric) dimension of the space of test/trial functions.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Nico Schlömer
- Solved:
- Last query:
- Last reply: