[Ns-bugs] [Bug 787] Addition of Two Ray Ground model to propagation loss model and tests
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Tue Jan 19 23:04:13 PST 2010
http://www.nsnam.org/bugzilla/show_bug.cgi?id=787
--- Comment #6 from Pavel Boyko <boyko at iitp.ru> 2010-01-20 02:04:12 EDT ---
Hi, Tom,
please consider attached version: fixed indentaion, removed unnecessary
GetObject() calls and a little bit optimized calculations.
Also test must be extended to include nonzero z coordinates cases.
Pavel
(In reply to comment #3)
> Created an attachment (id=727)
--> (http://www.nsnam.org/bugzilla/attachment.cgi?id=727) [details]
> Patch containing suggested changes
>
> I've made the changes so that the z coordinate of the node is the antenna
> height, but have also included a model parameter to add to this. This is to
> allow for a standard height above z for antenna height, if a network needs it
> (i.e. a vehicular network where z=0 and the antenna is on the roof 1.5m above).
> The difference is defaulted to 0 for ease of use.
>
> Please have a look and let me know what you think. Also, could you indicate
> the multiplications that can be optimised?
>
> Many thanks,
>
> Tom.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list