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

Function rectangle

python/test/unit/mesh/test_mesh.py:202–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201@pytest.fixture
202def rectangle():
203 return create_rectangle(
204 MPI.COMM_WORLD,
205 [np.array([0.0, 0.0]), np.array([2.0, 2.0])],
206 [5, 5],
207 CellType.triangle,
208 np.float64,
209 GhostMode.none,
210 )
211
212
213@pytest.fixture

Callers

nothing calls this directly

Calls 2

create_rectangleFunction · 0.90
arrayMethod · 0.45

Tested by

no test coverage detected