16 #ifndef __TY_TRAJET_DEFAULTSOLVER__
17 #define __TY_TRAJET_DEFAULTSOLVER__
25 #include <gtest/gtest_prod.h>
66 void reset()
override;
All base classes related to 3D manipulation.
Representation of one of the most optimal path between source and receptor: S—>R Specific derivation ...
std::deque< TYCheminDefaultSolver > TYTabCheminDefaultSolver
TYChemin collection.
Class for the definition of atmospheric conditions.
Representation of one of the most optimal path between source and receptor: S—>R. The class TYChemin ...
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
const OSpectre getSpectre() const
TYTrajetDefaultSolver(tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_)
Constructor.
bool operator!=(const TYTrajetDefaultSolver &other) const
Operator !=.
void reset() override
Reset method.
OSpectre correctTiers(const OSpectreComplex &si, const OSpectreComplex &sj, const AtmosphericConditions &atmos, const double &ri, const double &rj) const
size_t getNbChemins()
Return the number of path in *this (in addition to the direct path).
TYTabCheminDefaultSolver _chemins
Paths collection.
void addChemin(const TYCheminDefaultSolver &chemin)
Add a new path.
FRIEND_TEST(test_TYTrajet, getPEnergetique)
OSpectre & getSpectre()
Get/Set the spectrum at the receptor point.
TYTabCheminDefaultSolver & getChemins()
Return the collection of paths of *this.
FRIEND_TEST(test_TYTrajet, getPInterference)
OSpectre getPInterference(const AtmosphericConditions &atmos)
Compute the quadratic pressure on the journey.
void setSpectre(const OSpectre &spectre)
TYTrajetDefaultSolver & operator=(const TYTrajetDefaultSolver &other)
Operator =.
virtual ~TYTrajetDefaultSolver()
Destructor.
bool operator==(const TYTrajetDefaultSolver &other) const
Operator ==.
TYTabCheminDefaultSolver & getCheminsDirect()
Return an array of the direct paths.
TYCheminDefaultSolver getChemin(int index)
Return a path thanks to its index.
void addCheminDirect(const TYCheminDefaultSolver &chemin)
Add a new path to the array of direct paths.
OSpectre getPEnergetique(const AtmosphericConditions &atmos)
Compute the acoustic pressure (phase modulation) on the journey.
TYTabCheminDefaultSolver _cheminsDirect
Direct paths collection (without obstacles)
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
Describes an acoustic receptor.
Describes an acoustic source.
This file provides the declaration of the entities of the model, which inherit from BaseEntity.