118 ._Absorption.getPhase());
134 for (i = 1; i < tabEtapes.size() - 1; i++)
137 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
153 for (i = 1; i < tabEtapes.size(); i++)
156 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
177 for (
size_t i = 0; i < tabEtapes.size(); i++)
186 receptor_event->
pos = ptR;
std::deque< TYEtape > TYTabEtape
TYEtape collection.
Representation of one of the most optimal path between source and receptor: S—>R.
Class for the definition of atmospheric conditions.
OSpectre compute_length_absorption(double length) const
const OSpectre & get_k() const
Get the wave number spectrum.
OSpectreAbstract & sum(const OSpectreAbstract &spectre) const
Arithmetic sum of two spectrums in one-third Octave.
OSpectreAbstract & div(const OSpectreAbstract &spectre) const
Division of two spectrums.
OSpectreAbstract & mult(const OSpectreAbstract &spectre) const
Multiplication of two spectrums.
static OSpectre getEmptyLinSpectre(const double &valInit=1.0E-20)
Create a physical quantity spectrum.
Representation of one of the most optimal path between source and receptor: S—>R. The class TYChemin ...
double _distance
Direct distance between source and receptor.
void calcAttenuation(const TYTabEtape &tabEtapes, const AtmosphericConditions &atmos, double dp=0.0, double hs=0.0, double hr=0.0, double Gs=0.5, double Gm=0.5, double Gr=0.5)
bool operator==(const TYChemin &other) const
Operator ==.
virtual ~TYChemin()
Destructor.
TYTypeChemin _typeChemin
Path type (has an influence on the algorithm)
acoustic_path * _eq_path
Equivalent acoustic_path.
bool operator!=(const TYChemin &other) const
Operator !=.
OSpectreOctave _attenuation
TYChemin & operator=(const TYChemin &other)
Operator =.
void build_eq_path(const TYTabEtape &tabEtapes)
acoustic_path * get_ray(OPoint3D ptR)
double _longueur
Total path length.
This class store data and provide functions to manipulate event in the acoustic context.
ACOUSTIC_EVENT_TYPES type
Event type.
OPoint3D pos
Event position.
virtual void cleanEventsTab()
clean tab of events
virtual void addEvent(acoustic_event *TYEvent)
Add an event to the events list of the ray.
static LPSolverConfiguration get()
Get the configuration.
This file provides class for solver configuration.