fixed Bug 2011 - speed of light constant

This commit is contained in:
Nicola Baldo
2014-10-28 11:48:13 +01:00
parent 033973ca72
commit fe56ee1741

View File

@@ -92,8 +92,8 @@ ConstantSpeedPropagationDelayModel::GetTypeId (void)
static TypeId tid = TypeId ("ns3::ConstantSpeedPropagationDelayModel")
.SetParent<PropagationDelayModel> ()
.AddConstructor<ConstantSpeedPropagationDelayModel> ()
.AddAttribute ("Speed", "The speed (m/s)",
DoubleValue (300000000.0),
.AddAttribute ("Speed", "The propagation speed (m/s) in the propagation medium being considered. The default value is the propagation speed of light in the vacuum.",
DoubleValue (299792458),
MakeDoubleAccessor (&ConstantSpeedPropagationDelayModel::m_speed),
MakeDoubleChecker<double> ())
;