Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test including create_interval() #2345

Merged
merged 3 commits into from
Sep 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/test/unit/mesh/test_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
is_simplex)
from dolfinx.fem import assemble_scalar, form
from dolfinx.mesh import (CellType, DiagonalType, GhostMode, create_box,
create_rectangle, create_submesh, create_unit_cube,
create_interval, create_rectangle, create_submesh, create_unit_cube,
create_unit_interval, create_unit_square,
exterior_facet_indices, locate_entities,
locate_entities_boundary)
Expand Down Expand Up @@ -164,7 +164,7 @@ def c5(mesh3d):

@pytest.fixture
def interval():
return create_unit_interval(MPI.COMM_WORLD, 18)
return create_interval(MPI.COMM_WORLD, 18, [0.0, 1.0])


@pytest.fixture
Expand Down