Commit 34151a2
authored
[algorithm] Fix bug concerning coupling point removal during retraction (#90)
* [operations] Added a namespace for NeedleOperations and a function to remove points ahead of the tip
* [operations] Implemented a custom function for removing points based on edge direction
* [algorithm] Use custom operation for point removal - avoid dynamic casts to edge element types
* [operations] Message warning for empty element pointer or empty coupling points vector
* [operations] Wrongly defined return statements in point removal operation
* [operations] Fix operation removing only one coupling point per time step
* [algorithm] update algorithm logic
* [algorithm] Fix crash in case coupling points are all removed and vector is emptied
* [operations] Fail-proof while loop with safety counter
* [operations] Remove safety counter1 parent 834531e commit 34151a2
File tree
2 files changed
+17
-14
lines changed- src/CollisionAlgorithm
- algorithm
- operations
2 files changed
+17
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
219 | 227 | | |
220 | 228 | | |
221 | 229 | | |
| |||
290 | 298 | | |
291 | 299 | | |
292 | 300 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
| 19 | + | |
22 | 20 | | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments