Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FEniCS/dolfinx
/ __init__
Method
__init__
python/test/unit/fem/test_function.py:140–141 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
138
def
test_interpolation_rank0(V):
139
class
MyExpression:
140
def
__init__(self):
141
self.t = 0.0
142
143
def
eval(self, x):
144
return
np.full(x.shape[1], self.t)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected