MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / eval

Method eval

python/test/unit/fem/test_function.py:143–144  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

141 self.t = 0.0
142
143 def eval(self, x):
144 return np.full(x.shape[1], self.t)
145
146 f = MyExpression()
147 f.t = 1.0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected