()
| 309 | |
| 310 | |
| 311 | def test_create_box_prism(): |
| 312 | mesh = create_box( |
| 313 | MPI.COMM_WORLD, |
| 314 | [[0.0, 0.0, 0.0], [1.0, 1.0, 1.0]], |
| 315 | [2, 3, 4], |
| 316 | CellType.prism, |
| 317 | np.float64, |
| 318 | GhostMode.none, |
| 319 | ) |
| 320 | assert mesh.topology.index_map(0).size_global == 60 |
| 321 | assert mesh.topology.index_map(3).size_global == 48 |
| 322 | |
| 323 | |
| 324 | @pytest.mark.parametrize("gdim", [1, 2, 3]) |
nothing calls this directly
no test coverage detected