Skip to content

Commit

Permalink
Test update
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jun 19, 2024
1 parent 77bd6bd commit 4fa1b85
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions python/demos/new_demo_christmas_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,13 @@ def _u_initial(x):
outname = f"results/xmas_{tdim}D_{size}"

# create contact solver
if raytracing:
search_mode = [ContactMode.Raytracing for _ in range(len(contact_pairs))]
else:
search_mode = [ContactMode.ClosestPoint for _ in range(len(contact_pairs))]
# if raytracing:
# search_mode = [ContactMode.Raytracing for _ in range(len(contact_pairs))]
# else:
# search_mode = [ContactMode.ClosestPoint for _ in range(len(contact_pairs))]
search_mode = [ContactMode.ClosestPoint for _ in range(len(contact_pairs))]

contact_problem = ContactProblem(mts[1:], surfaces, contact_pairs, mesh, q_degree, search_mode, radius)
contact_problem = ContactProblem(mts[1:], surfaces, contact_pairs, mesh, q_degree, search_mode)
contact_problem.generate_contact_data(
FrictionLaw.Frictionless,
V,
Expand Down

0 comments on commit 4fa1b85

Please sign in to comment.