Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PixelGeometry2D.hpp
Go to the documentation of this file.
1 /*
2  * PixelGeometry2D.hpp
3  *
4  * Created on: Mar 4, 2015
5  * Author: imabit
6  */
7 
8 #ifndef PIXELGEOMETRY2D_HPP_
9 #define PIXELGEOMETRY2D_HPP_
10 
11 #include "GeometryBase.hpp"
12 #include "GeometryFactoryReg.hpp"
13 #include "../grid/GridBase.hpp"
14 #include "../common/Vector3D.hpp"
15 #include "../cells/ElectroMagCells2D.hpp"
16 
17 namespace phoxonics {
18 namespace core {
19 
20 class PixelGeometry2D : public GeometryBase {
21 public:
22  explicit PixelGeometry2D();
23  virtual ~PixelGeometry2D();
24 
25  std::string pixel_geom { "" };
26 
27  // configures object and initializes data from config
28  void configure(std::shared_ptr<ConfigBase> config_base) override final;
29 
30  // prints object data
31  void print_me() override final;
32 
33  // generate geometry
34  void generate_geometry(std::shared_ptr<GridBase> grid_base) override final;
35 };
36 
37 } /* namespace core */
38 } /* namespace phoxonics */
39 
40 #endif /* PIXELGEOMETRY2D_HPP_ */
virtual ~PixelGeometry2D()
Definition: PixelGeometry2D.cpp:19
PixelGeometry2D()
Definition: PixelGeometry2D.cpp:15
std::string pixel_geom
Definition: PixelGeometry2D.hpp:25
Definition: CommonBase.hpp:14
Definition: PixelGeometry2D.hpp:20
Definition: GeometryBase.hpp:23
STL namespace.
void print_me() overridefinal
Definition: PixelGeometry2D.cpp:44
void generate_geometry(std::shared_ptr< GridBase > grid_base) overridefinal
Definition: PixelGeometry2D.cpp:50
Definition: GridBase.hpp:26
virtual void configure()
Definition: SimulationItemBase.cpp:21