Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYCheminDefaultSolver.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef __TY_CHEMIN_DEFAULTSOLVER__
17 #define __TY_CHEMIN_DEFAULTSOLVER__
18 
19 #include <deque>
24 
41 {
42  // Methods
43 public:
54 
58  bool operator==(const TYCheminDefaultSolver& other) const;
60  bool operator!=(const TYCheminDefaultSolver& other) const;
61 
66  void calcAttenuation(const TYTabEtapeDefaultSolver& tabEtapes, const AtmosphericConditions& atmos);
67 
75  {
76  return _attenuation;
77  }
79  {
80  return _attenuation;
81  }
82 
88  {
89  _attenuation = att;
90  }
91 
92 protected:
95 };
96 
98 typedef std::deque<TYCheminDefaultSolver> TYTabCheminDefaultSolver;
99 
100 #endif // __TY_CHEMIN_DEFAULTSOLVER__
std::deque< TYCheminDefaultSolver > TYTabCheminDefaultSolver
TYChemin collection.
Representation of one of the most optimal path between source and receptor: S—>R.
std::deque< TYEtapeDefaultSolver > TYTabEtapeDefaultSolver
TYEtape 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 ...
bool operator==(const TYCheminDefaultSolver &other) const
Operator ==.
void setAttenuation(const OSpectreComplex &att)
Set the attenuation.
OSpectreComplex & getAttenuation()
Return the path attenuation.
TYCheminDefaultSolver & operator=(const TYCheminDefaultSolver &other)
Operator =.
bool operator!=(const TYCheminDefaultSolver &other) const
Operator !=.
OSpectreComplex _attenuation
Attenuation spectrum of the path.
const OSpectreComplex & getAttenuation() const
void calcAttenuation(const TYTabEtapeDefaultSolver &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. The class TYChemin ...
Definition: TYChemin.h:66