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

Function left_side

python/test/unit/mesh/test_face.py:47–48  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

45 """Test cell normals for a subset of facets."""
46
47 def left_side(x):
48 return np.isclose(x[0], 0)
49
50 fdim = cube.topology.dim - 1
51 facets = locate_entities_boundary(cube, fdim, left_side)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected