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

Function ref_func

python/test/unit/fem/test_interpolation.py:1053–1054  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1051 return x[0] <= 0.5 + 1e-14
1052
1053 def ref_func(x):
1054 return x[0] + x[1] ** 2
1055
1056 tdim = mesh.topology.dim
1057 cells = locate_entities(mesh, tdim, left_locator)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected