A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::JakesProcess::Oscillator Struct Reference

This class Represents a single oscillator. More...

+ Collaboration diagram for ns3::JakesProcess::Oscillator:

Public Member Functions

 Oscillator (std::complex< double > amplitude, double initialPhase, double omega)
 Initiate oscillator with complex amplitude, initial phase and rotation speed.
 
std::complex< doubleGetValueAt (Time t) const
 Get the complex amplitude at a given moment.
 

Public Attributes

std::complex< doublem_amplitude
 Complex number $Re=\cos(\psi_n), Im = i\sin(\psi_n)]$.
 
double m_omega
 Rotation speed of the oscillator $\omega_d \cos(\alpha_n)$.
 
double m_phase
 Phase $\phi_n$ of the oscillator.
 

Detailed Description

This class Represents a single oscillator.

Definition at line 80 of file jakes-process.h.

Constructor & Destructor Documentation

◆ Oscillator()

ns3::JakesProcess::Oscillator::Oscillator ( std::complex< double > amplitude,
double initialPhase,
double omega )

Initiate oscillator with complex amplitude, initial phase and rotation speed.

Represents a single oscillator.

Parameters
amplitudeinitial complex amplitude
initialPhaseinitial phase
omegarotation speed

Definition at line 25 of file jakes-process.cc.

Member Function Documentation

◆ GetValueAt()

std::complex< double > ns3::JakesProcess::Oscillator::GetValueAt ( Time t) const

Get the complex amplitude at a given moment.

Parameters
ttime instant
Returns
the complex amplitude

Definition at line 35 of file jakes-process.cc.

References ns3::Time::GetSeconds().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_amplitude

std::complex<double> ns3::JakesProcess::Oscillator::m_amplitude

Complex number $Re=\cos(\psi_n), Im = i\sin(\psi_n)]$.

Definition at line 97 of file jakes-process.h.

◆ m_omega

double ns3::JakesProcess::Oscillator::m_omega

Rotation speed of the oscillator $\omega_d \cos(\alpha_n)$.

Definition at line 99 of file jakes-process.h.

◆ m_phase

double ns3::JakesProcess::Oscillator::m_phase

Phase $\phi_n$ of the oscillator.

Definition at line 98 of file jakes-process.h.


The documentation for this struct was generated from the following files: