Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
gf_flux = GridFunction(space_flux,
"flux"
, autoupdate=True)
70
71
def
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.py
File · 0.70
Calls
2
CGSolver
Class · 0.50
Assemble
Method · 0.45
Tested by
no test coverage detected