Skip to content

Commit

Permalink
Name update
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jun 8, 2024
1 parent 54563f9 commit 9f1bd69
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion python/dolfinx_contact/one_sided/nitsche_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def nitsche_custom(
mesh.topology.cell_type,
quadrature_degree,
mesh.topology.dim - 1,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)
consts = np.array([E * gamma, theta])
consts = np.hstack((consts, n_vec))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def nitsche_rigid_surface_custom(
mesh.topology.cell_type,
quadrature_degree,
mesh.topology.dim - 1,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)
consts = np.array([gamma * E, theta])

Expand Down
8 changes: 4 additions & 4 deletions python/tests/test_coeffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_pack_coeff_at_quadrature(ct, quadrature_degree, space, degree):
quadrature_points, _ = basix.make_quadrature(
basix.cell.string_to_type(to_string(ct)),
quadrature_degree,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)

# Use Expression to verify packing
Expand Down Expand Up @@ -118,7 +118,7 @@ def test_pack_coeff_on_facet(quadrature_degree, space, degree):

# Create quadrature points for integration on facets
ct = mesh.topology.cell_type
q_rule = dolfinx_contact.QuadratureRule(ct, quadrature_degree, fdim, basix.QuadratureType.Default)
q_rule = dolfinx_contact.QuadratureRule(ct, quadrature_degree, fdim, basix.QuadratureType.default)

# Compute coefficients at quadrature points using Expression
q_points = q_rule.points()
Expand Down Expand Up @@ -171,7 +171,7 @@ def test_sub_coeff(quadrature_degree, degree):

# Use prepare quadrature points and geometry for eval
quadrature_points, wts = basix.make_quadrature(
basix.CellType.tetrahedron, quadrature_degree, basix.QuadratureType.Default
basix.CellType.tetrahedron, quadrature_degree, basix.QuadratureType.default
)
num_sub_spaces = V.num_sub_spaces
for i in range(num_sub_spaces):
Expand Down Expand Up @@ -211,7 +211,7 @@ def test_sub_coeff_grad(quadrature_degree, degree):

# Use prepare quadrature points and geometry for eval
quadrature_points, wts = basix.make_quadrature(
basix.CellType.tetrahedron, quadrature_degree, basix.QuadratureType.Default
basix.CellType.tetrahedron, quadrature_degree, basix.QuadratureType.default
)
num_sub_spaces = V.num_sub_spaces
for i in range(num_sub_spaces):
Expand Down
4 changes: 2 additions & 2 deletions python/tests/test_contact_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def sigma_n(v):
mesh.topology.cell_type,
2 * P + Q + 1,
mesh.topology.dim - 1,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)
coeffs = np.hstack([mu_packed, lmbda_packed, h_facets, g_vec, u_packed, grad_u_packed])

Expand Down Expand Up @@ -295,7 +295,7 @@ def sigma_n(v):
mesh.topology.cell_type,
2 * P + Q + 1,
mesh.topology.dim - 1,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)
consts = np.array([gamma, theta])
consts = np.hstack((consts, n_vec))
Expand Down
2 changes: 1 addition & 1 deletion python/tests/test_dolfinx_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def sigma_n(v):
mesh.topology.cell_type,
q_deg,
mesh.topology.dim - 1,
basix.QuadratureType.Default,
basix.QuadratureType.default,
)
consts = np.array([gamma * E, theta])
consts = np.hstack((consts, n_vec))
Expand Down

0 comments on commit 9f1bd69

Please sign in to comment.