Commit 3f272e6
initial optimization of revised
* update point_in_prism to avoid double-counting of polygon edge intersections when plumb lines pass through vertices
* revised normal_to_object implementation for prisms to account for in-plane distance from point to prism face when determining closest face
* re-updated normal_to_prism to behave correctly when the projection of the point into the plane does not lie within the prism face in question
* updates
* revise algorithm for intersecting line segment with prism
* overhauled intersect_line_segment_with_prism to do the full exact calculation with no approximations or assumptions about proximity
* update acquisition of array slices for DFT fields to behave properly in the presence of symmetries (2)
* update to intersect_line_segment_with_prism to fix failing unit test
* remove memory allocation from intersect_line_segment_with_prismintersect_line_segment_with_prism (#21)1 parent e8bfa49 commit 3f272e6
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | | - | |
| 2284 | + | |
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
| |||
2292 | 2292 | | |
2293 | 2293 | | |
2294 | 2294 | | |
2295 | | - | |
2296 | | - | |
2297 | | - | |
| 2295 | + | |
2298 | 2296 | | |
2299 | 2297 | | |
2300 | 2298 | | |
| |||
2306 | 2304 | | |
2307 | 2305 | | |
2308 | 2306 | | |
2309 | | - | |
2310 | 2307 | | |
2311 | 2308 | | |
2312 | 2309 | | |
| |||
2577 | 2574 | | |
2578 | 2575 | | |
2579 | 2576 | | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
2580 | 2582 | | |
2581 | 2583 | | |
2582 | 2584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
0 commit comments