openPSTD  2.0
Open source simulation for sound propagation in urban environments
GeneralTypes.h
1 // This file is part of openPSTD. //
3 // //
4 // openPSTD 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 // //
9 // openPSTD is distributed in the hope that it will be useful, //
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of //
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12 // GNU General Public License for more details. //
13 // //
14 // You should have received a copy of the GNU General Public License //
15 // along with openPSTD. If not, see <http://www.gnu.org/licenses/>. //
16 // //
18 
20 //
21 // Date: 29-1-2016
22 //
23 //
24 // Authors: M. R. Fortuin
25 //
26 //
27 // Purpose: General types that can be used throughout the application.
28 //
29 //
31 
32 
33 #ifndef OPENPSTD_GENERALTYPES_H
34 #define OPENPSTD_GENERALTYPES_H
35 
36 #include <memory>
37 #include <vector>
38 namespace OpenPSTD
39 {
40  namespace Kernel
41  {
42  using PSTD_FRAME_UNIT = float;
43  using PSTD_FRAME = std::vector<PSTD_FRAME_UNIT>;
44  using PSTD_FRAME_PTR = std::shared_ptr<PSTD_FRAME>;
45  }
46 }
47 
48 #endif //OPENPSTD_GENERALTYPES_H
This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33