44 if (TYChemin::operator!=(other))
96 ._Absorption.getPhase());
113 for (i = 1; i < tabEtapes.size() - 1; i++)
116 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
133 for (i = 1; i < tabEtapes.size(); i++)
136 phase = phase.
sum(tabEtapes[i]._Absorption.getPhase());
Representation of one of the most optimal path between source and receptor: S—>R Specific derivation ...
std::deque< TYEtapeDefaultSolver > TYTabEtapeDefaultSolver
TYEtape collection.
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.
void setPhase(const OSpectre &spectre)
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 ...
bool operator==(const TYCheminDefaultSolver &other) const
Operator ==.
TYCheminDefaultSolver & operator=(const TYCheminDefaultSolver &other)
Operator =.
bool operator!=(const TYCheminDefaultSolver &other) const
Operator !=.
OSpectreComplex _attenuation
Attenuation spectrum of the path.
void calcAttenuation(const TYTabEtapeDefaultSolver &tabEtapes, const AtmosphericConditions &atmos)
Compute the global attenuation on the path.
TYCheminDefaultSolver()
Constructor.
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.
TYTypeChemin _typeChemin
Path type (has an influence on the algorithm)
TYChemin & operator=(const TYChemin &other)
Operator =.
void build_eq_path(const T &tabEtapes)
build an acoustic_path from the tab of etapes
double _longueur
Total path length.
This file provides class for solver configuration.