Skip to content

Commit

Permalink
Merge pull request #10 from project8/develop
Browse files Browse the repository at this point in the history
Tweaked units of directivity placeholder opening angle from radians t…
  • Loading branch information
pslocum authored Jan 15, 2018
2 parents d99ac08 + f0ba3ea commit bb18279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Generators/LMCFreeFieldSignalGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ namespace locust



DirectivityFactor = directivity(m1, m2, radius*cos(theta*PI/180.), radius*sin(theta*PI/180.),
DirectivityFactor = directivity(m1, m2, radius*cos(theta), radius*sin(theta),
tCurrentParticle.GetPosition(true).GetX(), tCurrentParticle.GetPosition(true).GetY());

// if (fabs(tCurrentParticle.GetPosition(true).GetZ()-(double)(z_position-4)*0.01) < 0.005 )
Expand Down

0 comments on commit bb18279

Please sign in to comment.