Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FEniCS/dolfinx
/ expr0
Function
expr0
python/test/unit/fem/test_expression.py:609–610 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
607
u = fem.Function(V, dtype=dtype)
608
609
def
expr0(x):
610
return
x[0] + 2.0 * x[1]
611
612
u.interpolate(expr0)
613
Callers
1
test_submesh_codim_one
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected