Skip to content

Commit

Permalink
modified threshold for snout-aperture intersection
Browse files Browse the repository at this point in the history
  • Loading branch information
qualand committed May 8, 2024
1 parent 483da4f commit 57d4fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solarpilot/Flux.cpp
Expand Up @@ -2412,7 +2412,7 @@ bool Flux::calculateProjectedSnoutApertureIntersection(Heliostat& H, Receiver* R
//First check to make sure the heliostat can see the aperture plane. If not, don't bother.
PointVect rec_norm;
Rec->CalculateNormalVector(rec_norm);
if (Toolbox::dotprod(*rec_norm.vect(), *h2t) > 0.) { // Heliostat can't see aperture
if (Toolbox::dotprod(*rec_norm.vect(), *h2t) > - 0.001) { // Heliostat can't see aperture
viewable_aperture[0] = 0.;
viewable_aperture[1] = 0.;
viewable_aperture[2] = 0.;
Expand Down

0 comments on commit 57d4fda

Please sign in to comment.