Code_TYMPAN  4.4.0
Industrial site acoustic simulation
acoustic_result_model.hpp
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 
25 #ifndef TYMPAN__ACOUSTIC_RESULT_MODEL_H__INCLUDED
26 #define TYMPAN__ACOUSTIC_RESULT_MODEL_H__INCLUDED
27 
28 #include <memory>
29 
32 #include "data_model_common.hpp"
33 #include "entities.hpp"
34 
35 namespace tympan
36 {
41 {
42 public:
44 
45  virtual ~AcousticResultModel();
46 
48  {
49  return acoustic_data;
50  }
52  {
53  return path_data;
54  }
55 
56 protected: // data members
59 
60 }; // class AcousticResultModel
61 
62 std::unique_ptr<AcousticResultModel> make_AcousticResultModel();
63 
64 } // namespace tympan
65 
66 #endif // TYMPAN__ACOUSTIC_RESULT_MODEL_H__INCLUDED
std::vector< acoustic_path * > tab_acoustic_path
Contains the results of the model solved.
SpectrumMatrix & get_data()
Return the results matrix.
tab_acoustic_path & get_path_data()
Return the array of the acoustic paths.
tab_acoustic_path path_data
Array of the acoustic paths.
SpectrumMatrix acoustic_data
Matrix of the spectrum results.
virtual ~AcousticResultModel()
Constructor.
Spectrum matrix N*M used to store results. N is the number of receptors. M is the number of sources.
Common utilities and includes for all data models.
This file provides the declaration of the entities of the model, which inherit from BaseEntity.
std::unique_ptr< AcousticResultModel > make_AcousticResultModel()