|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
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). Specific derivation of TYChemin for 9613Solver. More...
#include <TYChemin9613Sover.h>


Public Member Functions | |
| TYChemin9613Solver () | |
| Constructor. More... | |
| TYChemin9613Solver (const TYChemin9613Solver &other) | |
| Copy contructor. More... | |
| ~TYChemin9613Solver () override | |
| Destructor. More... | |
| TYChemin9613Solver & | operator= (const TYChemin9613Solver &other) |
| Operator =. More... | |
| bool | operator== (const TYChemin9613Solver &other) const |
| Operator ==. More... | |
| bool | operator!= (const TYChemin9613Solver &other) const |
| Operator !=. More... | |
| void | calcAttenuation (const TYTabEtape9613Solver &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) |
| Compute the global attenuation on the path. More... | |
| void | computeBarAttenuation (const OSpectreOctave &Dz, const bool vertical, const bool left) |
| OSpectreOctave & | getAttenuation (const TYTypeAttenuation type) |
| Return attenuation of the path of the type. More... | |
| void | setAttenuation (const TYTypeAttenuation &type, const OSpectreOctave &att) |
| Set the atmospheric attenuation. More... | |
| void | setAttenuationBarWhenNoPath (bool vertical, bool left) |
| Set attenuation bar to max to traduce the lack of diffracted ray on this path. More... | |
Public Member Functions inherited from TYChemin | |
| TYChemin () | |
| Constructor. More... | |
| TYChemin (const TYChemin &other) | |
| Copy contructor. More... | |
| virtual | ~TYChemin () |
| Destructor. More... | |
| TYChemin & | operator= (const TYChemin &other) |
| Operator =. More... | |
| bool | operator== (const TYChemin &other) const |
| Operator ==. More... | |
| bool | operator!= (const TYChemin &other) const |
| Operator !=. More... | |
| double | getLongueur () |
| Get/Set the path length. More... | |
| const double | getLongueur () const |
| void | setLongueur (const double &longueur) |
| double | getDistance () |
| Get/Set the distance between source and receptor. More... | |
| const double | getDistance () const |
| void | setDistance (const double &distance) |
| void | setType (const TYTypeChemin &type) |
| Change the path type. More... | |
| const TYTypeChemin | getType () const |
| Return the path type. More... | |
| template<typename T > | |
| void | build_eq_path (const T &tabEtapes) |
| build an acoustic_path from the tab of etapes More... | |
| acoustic_path * | get_ray (OPoint3D ptR) |
Protected Attributes | |
| std::map< TYTypeAttenuation, OSpectreOctave > | _attenuations |
| Attenuations spectra of the path. More... | |
Protected Attributes inherited from TYChemin | |
| TYTypeChemin | _typeChemin |
| Path type (has an influence on the algorithm) More... | |
| double | _longueur |
| Total path length. More... | |
| double | _distance |
| Direct distance between source and receptor. More... | |
| acoustic_path * | _eq_path |
| Equivalent acoustic_path. More... | |
Private Member Functions | |
| void | calcGroundAttenuations (double distance, double hs, double hr, double Gs, double Gm, double Gr) |
| OSpectreOctave | calcGroundAttenuationSR (double dp, double h, double G) |
| OSpectreOctave | calcGroundAttenuationM (double q, double Gm) |
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). Specific derivation of TYChemin for 9613Solver.
Definition at line 40 of file TYChemin9613Sover.h.
| TYChemin9613Solver::TYChemin9613Solver | ( | ) |
Constructor.
Definition at line 19 of file TYChemin9613Solver.cpp.
| TYChemin9613Solver::TYChemin9613Solver | ( | const TYChemin9613Solver & | other | ) |
Copy contructor.
Definition at line 24 of file TYChemin9613Solver.cpp.
|
override |
Destructor.
Definition at line 29 of file TYChemin9613Solver.cpp.
| void TYChemin9613Solver::calcAttenuation | ( | const TYTabEtape9613Solver & | 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 |
||
| ) |
Compute the global attenuation on the path.
| [in] | tabEtapes | Array of steps. |
| [in] | atmos | Atmospheric ocnditions. |
| [in] | dp | Distance 2D between source and receptor for considered path. |
| [in] | hs | Height of source. |
| [in] | hr | Height of receptor |
| [in] | Gs | Ground factor of the source zone. |
| [in] | Gm | Ground factor of the middle zone. |
| [in] | Gr | Ground factor of the receptor zone. |
Definition at line 67 of file TYChemin9613Solver.cpp.


|
private |
|
private |
Definition at line 168 of file TYChemin9613Solver.cpp.


|
private |
| void TYChemin9613Solver::computeBarAttenuation | ( | const OSpectreOctave & | Dz, |
| const bool | vertical, | ||
| const bool | left | ||
| ) |
\ brief compute barrier attenuation on the path
Definition at line 107 of file TYChemin9613Solver.cpp.
| OSpectreOctave & TYChemin9613Solver::getAttenuation | ( | const TYTypeAttenuation | type | ) |
Return attenuation of the path of the type.
Definition at line 144 of file TYChemin9613Solver.cpp.

| bool TYChemin9613Solver::operator!= | ( | const TYChemin9613Solver & | other | ) | const |
Operator !=.
Definition at line 62 of file TYChemin9613Solver.cpp.

| TYChemin9613Solver & TYChemin9613Solver::operator= | ( | const TYChemin9613Solver & | other | ) |
Operator =.
Definition at line 34 of file TYChemin9613Solver.cpp.

| bool TYChemin9613Solver::operator== | ( | const TYChemin9613Solver & | other | ) | const |
Operator ==.
Definition at line 45 of file TYChemin9613Solver.cpp.

|
inline |
Set the atmospheric attenuation.
Definition at line 103 of file TYChemin9613Sover.h.
| void TYChemin9613Solver::setAttenuationBarWhenNoPath | ( | bool | vertical, |
| bool | left | ||
| ) |
Set attenuation bar to max to traduce the lack of diffracted ray on this path.
Definition at line 149 of file TYChemin9613Solver.cpp.
|
protected |
Attenuations spectra of the path.
Definition at line 116 of file TYChemin9613Sover.h.