Skip to content

Commit 7b70ae3

Browse files
authored
compute_collision_free_stepsize gpu issue (#123)
1 parent a34c034 commit 7b70ae3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ipc/ipc.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ double compute_collision_free_stepsize(
5656
"Sweep and Tiniest Queue is only supported in 3D!");
5757
}
5858
// TODO: Use correct min_distance
59+
const double tolerance = TightInclusionCCD::DEFAULT_TOLERANCE;
60+
const long max_iterations = TightInclusionCCD::DEFAULT_MAX_ITERATIONS;
5961
const double step_size = scalable_ccd::cuda::ipc_ccd_strategy(
6062
vertices_t0, vertices_t1, mesh.edges(), mesh.faces(),
6163
/*min_distance=*/0.0, max_iterations, tolerance);

0 commit comments

Comments
 (0)