(tdim, n)
| 28 | |
| 29 | |
| 30 | def mesh_factory(tdim, n): |
| 31 | if tdim == 1: |
| 32 | return create_unit_interval(MPI.COMM_WORLD, n) |
| 33 | elif tdim == 2: |
| 34 | return create_unit_square(MPI.COMM_WORLD, n, n) |
| 35 | elif tdim == 3: |
| 36 | return create_unit_cube(MPI.COMM_WORLD, n, n, n) |
| 37 | |
| 38 | |
| 39 | # --- Function |
nothing calls this directly
no test coverage detected