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

Method coarse_solver

engine/solver/amg_python.py:144–146  ·  view source on GitHub ↗
(self, A, b)

Source from the content-addressed store, hash-verified

142
143
144 def coarse_solver(self, A, b):
145 res = np.linalg.solve(A.toarray(), b)
146 return res
147
148 def old_V_cycle(self,levels,lvl,x,b):
149 A = levels[lvl].A

Callers 2

old_V_cycleMethod · 0.95
V_cycle_v2Method · 0.95

Calls 1

solveMethod · 0.45

Tested by

no test coverage detected