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

Function exact_expr

python/test/unit/fem/test_expression.py:184–185  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

182 # implemented within the UFL Expression. This is to check that the
183 # Constants are being set up correctly.
184 def exact_expr(x):
185 return x[0] ** 2 + 2 * x[1] ** 2
186
187 # Unused, but remains for clarity.
188 def f(x):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected