Research Article
Precise Design of Solid Rocket Motor Heat Insulation Layer Thickness under Nonuniform Dynamic Burning Rate
Procedure 2
Parallel distance querying.
| Input: Triangle set , sampling point set | | 1: Build a AABB tree object from | | 2: for all sampling sections serial do | | 3: Fetch all sampling points on from | | 4: Initialize resulting array | | 5: for all fetched sampling points parallel do | | 6: Query the minimum distance to the AABB tree object, store the result into | | 7: end for | | 8: Perform parallel reduction to find the minimum distance from | | 9: end for | | 10: return all computed minimum distances. |
|