MCPcopy Create free account
hub / github.com/chunleili/mgpbd / setup_jacobi

Method setup_jacobi

engine/solver/amg_python.py:81–86  ·  view source on GitHub ↗
(self, A)

Source from the content-addressed store, hash-verified

79
80
81 def setup_jacobi(self, A):
82 from pyamg.relaxation.smoothing import rho_D_inv_A
83 rho = rho_D_inv_A(A)
84 print("rho:", rho)
85 self.jacobi_omega = 1.0/(rho)
86 print("omega:", self.jacobi_omega)
87
88
89 def setup_smoothers(self, A):

Callers 1

setup_smoothersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected