Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ArrSizeHelper.hpp
Go to the documentation of this file.
1 /*
2  * ArrSizeHelper.hpp
3  *
4  * Created on: Nov 19, 2014
5  * Author: nano
6  */
7 
8 #ifndef ARRSIZEHELPER_HPP_
9 #define ARRSIZEHELPER_HPP_
10 
11 #include "../common/CommonBase.hpp"
12 
13 namespace phoxonics {
14 namespace common {
15 
16 struct ArrSizeHelper : public CommonBase {
17  explicit ArrSizeHelper(const int arr_dim_x, const int arr_dim_y, const int arr_dim_z) :
18  arr_dim_x(arr_dim_x), arr_dim_y(arr_dim_y), arr_dim_z(arr_dim_z) { };
19 
20  const int arr_dim_x;
21  const int arr_dim_y;
22  const int arr_dim_z;
23 };
24 
25 } /* namespace common */
26 } /* namespace phoxonics */
27 
28 #endif /* ARRSIZEHELPER_HPP_ */
ArrSizeHelper(const int arr_dim_x, const int arr_dim_y, const int arr_dim_z)
Definition: ArrSizeHelper.hpp:17
Definition: CommonBase.hpp:14
const int arr_dim_x
Definition: ArrSizeHelper.hpp:18
Definition: CommonBase.hpp:17
const int arr_dim_z
Definition: ArrSizeHelper.hpp:22
const int arr_dim_y
Definition: ArrSizeHelper.hpp:21
Definition: ArrSizeHelper.hpp:16