99 phase = phase.
sum(tabEtapes[1]._Absorption.getPhase());
113 for (i = 1; i < tabEtapes.size() - 1; i++)
116 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
131 for (i = 1; i < tabEtapes.size(); i++)
134 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
153 for (
size_t i=0; i<tabEtapes.size(); i++)
162 receptor_event->
pos = ptR;
This class store data and provide functions to manipulate event in the acoustic context.
Representation of one of the most optimal path between source and receptor: S—>R. The class TYChemin represents a path between a Source and a receptor (Recepteur class). It's constituted of a collection of steps (TYEtape class).
bool operator==(const TYChemin &other) const
Operator ==.
static OSpectre getEmptyLinSpectre(const double &valInit=1.0E-20)
Create a physical quantity spectrum.
bool operator!=(const TYChemin &other) const
Operator !=.
virtual OSpectre sum(const OSpectre &spectre) const
Arithmetic sum of two spectrums in one-third Octave.
const OSpectre & get_k() const
Get the wave number spectrum.
void build_eq_path(const TYTabEtape &tabEtapes)
build an acoustic_path from the tab of etapes
ACOUSTIC_EVENT_TYPES type
Event type.
double _longueur
Total path length.
This file provides class for solver configuration.
virtual void cleanEventsTab()
clean tab of events
virtual void addEvent(acoustic_event *TYEvent)
Add an event to the events list of the ray.
OSpectreComplex _attenuation
Attenuation spectrum of the path.
acoustic_path * _eq_path
Equivalent acoustic_path.
virtual OSpectre div(const OSpectre &spectre) const
Division of two spectrums.
double _distance
Direct distance between source and receptor.
void calcAttenuation(const TYTabEtape &tabEtapes, const AtmosphericConditions &atmos)
Compute the global attenuation on the path.
Representation of one of the most optimal path between source and receptor: S—>R.
OPoint3D pos
Event position.
std::deque< TYEtape > TYTabEtape
TYEtape collection.
OSpectre compute_length_absorption(double length) const
virtual OSpectre mult(const OSpectre &spectre) const
Multiplication of two spectrums.
Class for the definition of atmospheric conditions.
virtual ~TYChemin()
Destructor.
TYChemin & operator=(const TYChemin &other)
Operator =.
acoustic_path * get_ray(OPoint3D ptR)
Store acoustic power values for different frequencies.
void setPhase(const OSpectre &spectre)
static LPSolverConfiguration get()
Get the configuration.
TYTypeChemin _typeChemin
Path type (has an influence on the algorithm)