Skip to content

Commit

Permalink
Tweaked units of directivity placeholder opening angle from radians t…
Browse files Browse the repository at this point in the history
…o degrees.
  • Loading branch information
pslocum committed Jan 15, 2018
1 parent 5eb3722 commit f0ba3ea
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 f0ba3ea

Please sign in to comment.