Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PmlConfig.hpp
Go to the documentation of this file.
1 /*
2  * PmlConfig.hpp
3  *
4  * Created on: Oct 14, 2014
5  * Author: nano
6  */
7 
8 #ifndef PMLCONFIG_HPP_
9 #define PMLCONFIG_HPP_
10 
11 #include "../../../common/common.hpp"
12 #include "ConfigParam.hpp"
13 #include "ConfigBase.hpp"
14 #include "ConfigFactoryReg.hpp"
15 #include "../common/Vector3D.hpp"
16 
17 #include <string>
18 #include <iostream>
19 
20 namespace phoxonics {
21 namespace core {
22 
23 class PmlConfig : public ConfigBase {
24 public:
25  explicit PmlConfig();
26  explicit PmlConfig(std::string config_type);
27  virtual ~PmlConfig();
28 
29  // print object in console
30  void print_me() override final;
31 
32  // The spatial thickness of the PML layer (which extends from the boundary towards the
33  // inside of the computational cell). The thinner it is, the more numerical reflections
34  // become a problem. No default value.
36 };
37 
38 } /* namespace core */
39 } /* namespace phoxonics */
40 
41 #endif /* PMLCONFIG_HPP_ */
Definition: CommonBase.hpp:14
Definition: ConfigBase.hpp:20
PmlConfig()
Definition: PmlConfig.cpp:15
Vector3D thickness
Definition: PmlConfig.hpp:35
Definition: Vector3D.hpp:19
void print_me() overridefinal
Definition: PmlConfig.cpp:31
std::string config_type
Definition: ConfigBase.hpp:41
Definition: PmlConfig.hpp:23
virtual ~PmlConfig()
Definition: PmlConfig.cpp:27