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

Function left_corner_edge

python/test/unit/refinement/test_refinement.py:79–80  ·  view source on GitHub ↗
(x, tol=1e-7)

Source from the content-addressed store, hash-verified

77 msh.topology.create_entities(1)
78
79 def left_corner_edge(x, tol=1e-7):
80 return isclose(x[0], 0) & (x[1] < 1 / 4 + tol)
81
82 edges = locate_entities_boundary(msh, 1, left_corner_edge)
83 if MPI.COMM_WORLD.size == 1:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected