FEniCS / FEniCS/dolfinx

Return a flag from GJK distance computation indicating convergence

Open
#3,776 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
1.2k
Forks
261
Avg merge
1d 15h
Merged PRs (30d)
65

Description

### Describe new/missing feature

The distance/collision algorithm `compute_distance_gjk` is iterative, with a hard-wired maximum iteration count of 15. If this is exceeded, it will throw an error, but it would be more useful to return a flag to the user, so they can try the same computation with higher precision. See https://github.com/FEniCS/dolfinx/pull/3770

### Suggested user interface

```python3

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.