Tech docs bspp (#21)

Tech-docs BSP-Parallel thread

- Documented how threadlike specs for BSPP thread are derived from norm data. 
- Refactoring of BSPP_thread.awk to make the code easier to document (order of calculations, avoid repetition).

closes #6
This commit is contained in:
Adrian Schlatter
2019-05-08 22:08:33 +02:00
committed by GitHub
parent 827723d1b1
commit ad12ec4961
2 changed files with 30 additions and 4 deletions

View File

@@ -13,12 +13,12 @@ function calculateThreadlibSpecs() {
DPitchExt = DPitch + $10 / 2;
DMinInt = DMin + $14 / 2;
DMaxExt = DMax + $15 / 2;
DSupportExt = DPitchExt - 2 * 5 / 12 * H;
DSupportInt = DPitchInt + 2 * 5 / 12 * H;
DValleyExt = DPitchExt - 2 * 5 / 12 * H * qOverlap;
DValleyInt = DPitchInt + 2 * 5 / 12 * H * qOverlap;
DCrestExt = DMaxExt - tan((pi + phi) / 4) / 6 * (1 - sin(phi / 2));
DCrestInt = DMinInt + tan((pi + phi) / 4) / 6 * (1 - sin(phi / 2));
DValleyExt = DPitchExt - 5 * P / (12 * tan(phi / 2)) * qOverlap;
DValleyInt = DPitchInt + 5 * P / (12 * tan(phi / 2)) * qOverlap;
DSupportExt = DPitchExt - 5 * P / (12 * tan(phi / 2));
DSupportInt = DPitchInt + 5 * P / (12 * tan(phi / 2));
ZValley = 0.03125 * P;
ZCrestExt = (DPitchExt + H - DCrestExt) / 2 * tan(phi / 2);
ZCrestInt = (DCrestInt - DPitchInt + H) / 2 * tan(phi / 2);