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

Function SolveBVP

py_tutorials/adaptive.py:71–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69gf_flux = GridFunction(space_flux, "flux", autoupdate=True)
70
71def SolveBVP():
72 a.Assemble()
73 f.Assemble()
74 inv = CGSolver(a.mat, c.mat)
75 gfu.vec.data = inv * f.vec
76 Redraw (blocking=True)
77
78
79

Callers 1

adaptive.pyFile · 0.70

Calls 2

CGSolverClass · 0.50
AssembleMethod · 0.45

Tested by

no test coverage detected