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

Function MakePETScPreconditioner

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

Source from the content-addressed store, hash-verified

140
141
142def MakePETScPreconditioner(mat, freedofs, flags):
143 return PETScPreconditioner(mat, freedofs, flags)
144
145RegisterPreconditioner ("petsc", MakePETScPreconditioner, docflags = { \
146 "pc_type" : "type of PETSc preconditioner",

Callers

nothing calls this directly

Calls 1

PETScPreconditionerClass · 0.85

Tested by

no test coverage detected