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

Method Solve

python/directsolvers.py:11–12  ·  view source on GitHub ↗
(self, rhs, sol)

Source from the content-addressed store, hash-verified

9 self.inv_mat = spla.factorized(sp.csr_matrix((vals, rows, cols)))
10
11 def Solve(self, rhs, sol):
12 sol.FV().NumPy()[:] = self.inv_mat(rhs.FV().NumPy())
13
14ngsolve.la.RegisterInverseType("superlu", SuperLU)

Callers 2

linalg.pyFile · 0.45
integrator.pyFile · 0.45

Calls 1

FVMethod · 0.45

Tested by

no test coverage detected