Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MaterialBase.hpp
Go to the documentation of this file.
1 /*
2  * MaterialBase.hpp
3  *
4  * Created on: Nov 12, 2014
5  * Author: nano
6  */
7 
8 #ifndef MATERIALBASE_HPP_
9 #define MATERIALBASE_HPP_
10 
11 #include "../common/SimulationItemBase.hpp"
12 #include <memory>
13 
14 namespace phoxonics {
15 namespace core {
16 
17 class MaterialBase {
18 public:
19  MaterialBase();
20  virtual ~MaterialBase();
21 
22  // electric properties
23  double eps { 0.0 }; // absolute permittivity
24  double eps_r { 0.0 }; // relative permittivity (dielectric constant)
25 
26  // magnetic properties
27  double mu { 0.0 }; // permeability
28  double mu_r { 0.0 }; // relative permittivity
29 
30  // Electrical resistivity, represented by the Greek letter (rho), is a measure of how
31  // strongly a material opposes the flow of electric current. The lower the resistivity,
32  // the more readily the material permits the flow of electric charge.
33  double rho { 0.0 };
34 
35  // Electrical conductivity is the reciprocal quantity of resistivity. Conductivity is a
36  // measure of how well a material conducts an electric current. Electric conductivity may
37  // be represented by the Greek letter (sigma), (kappa), or (gamma).
38  double sigma { 0.0 };
39 };
40 
41 } /* namespace core */
42 } /* namespace phoxonics */
43 
44 #endif /* MATERIALBASE_HPP_ */
double rho
Definition: MaterialBase.hpp:33
double eps
Definition: MaterialBase.hpp:23
Definition: CommonBase.hpp:14
virtual ~MaterialBase()
Definition: MaterialBase.cpp:16
double mu_r
Definition: MaterialBase.hpp:28
double sigma
Definition: MaterialBase.hpp:38
double mu
Definition: MaterialBase.hpp:27
double eps_r
Definition: MaterialBase.hpp:24
MaterialBase()
Definition: MaterialBase.cpp:13
Definition: MaterialBase.hpp:17