Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ElectroMagCell.hpp
Go to the documentation of this file.
1 /*
2  * ElectroMagCell.hpp
3  *
4  * Created on: Oct 8, 2014
5  * Author: nano
6  */
7 
8 #ifndef ELECTROMAGCELL_HPP_
9 #define ELECTROMAGCELL_HPP_
10 
11 #include "../material/MaterialBase.hpp"
12 #include "../material/MaterialFactory.hpp"
13 #include <vector>
14 
15 namespace phoxonics {
16 namespace core {
17 
19 public:
20  explicit ElectroMagCell();
21  virtual ~ElectroMagCell();
22 
23  std::shared_ptr<MaterialBase> material_type;
24 
25  double ex { 0.0 }; // electric field
26  double ey { 0.0 };
27  double ez { 0.0 };
28  double hx { 0.0 }; // magnetic field
29  double hy { 0.0 };
30  double hz { 0.0 };
31 
32  double dx { 0.0 }; // electric displacement
33  double dy { 0.0 };
34  double dz { 0.0 };
35  double bx { 0.0 }; // magnetic displacement
36  double by { 0.0 };
37  double bz { 0.0 };
38 };
39 
40 } /* namespace core */
41 } /* namespace phoxonics */
42 
43 #endif /* ELECTROMAGCELL_HPP_ */
double dy
Definition: ElectroMagCell.hpp:33
double hy
Definition: ElectroMagCell.hpp:29
Definition: CommonBase.hpp:14
double ey
Definition: ElectroMagCell.hpp:26
double hx
Definition: ElectroMagCell.hpp:28
double by
Definition: ElectroMagCell.hpp:36
Definition: ElectroMagCell.hpp:18
virtual ~ElectroMagCell()
Definition: ElectroMagCell.cpp:24
double bz
Definition: ElectroMagCell.hpp:37
std::shared_ptr< MaterialBase > material_type
Definition: ElectroMagCell.hpp:23
double dx
Definition: ElectroMagCell.hpp:32
double dz
Definition: ElectroMagCell.hpp:34
double bx
Definition: ElectroMagCell.hpp:35
double ez
Definition: ElectroMagCell.hpp:27
double ex
Definition: ElectroMagCell.hpp:25
double hz
Definition: ElectroMagCell.hpp:30
ElectroMagCell()
Definition: ElectroMagCell.cpp:13