MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / MakeGAMGPreconditioner

Function MakeGAMGPreconditioner

python/ngs2petsc.py:135–137  ·  view source on GitHub ↗
(mat, freedofs, flags)

Source from the content-addressed store, hash-verified

133
134# for backward compatibility
135def MakeGAMGPreconditioner(mat, freedofs, flags):
136 flags.Set("pc_type", "gamg")
137 return PETScPreconditioner(mat, freedofs, flags)
138
139RegisterPreconditioner ("gamg", MakeGAMGPreconditioner)
140

Callers

nothing calls this directly

Calls 2

PETScPreconditionerClass · 0.85
SetMethod · 0.45

Tested by

no test coverage detected