physical_geometry_1d.hpp
Go to the documentation of this file.
1 
6 #ifndef PHYSICAL_GEOMETRY_1D
7 #define PHYSICAL_GEOMETRY_1D
8 
11 {
12 public:
13 
18  virtual double calcArea(double radius) const = 0;
19 
24  virtual double calcVolume(double radius) const = 0;
25 
26  virtual ~PhysicalGeometry1D(void);
27 };
28 
31 {
32 public:
33 
35  SlabSymmetry1D(void);
36 
37  double calcArea(double radius) const;
38 
39  double calcVolume(double radius) const;
40 };
41 
44 {
45 public:
46 
49 
50  double calcArea(double radius) const;
51 
52  double calcVolume(double radius) const;
53 };
54 
57 {
58 public:
60  SphericalSymmetry1D(void);
61 
62  double calcArea(double radius) const;
63 
64  double calcVolume(double radius) const;
65 };
66 
67 #endif // PHYSICAL_GEOMETRY_1D
Cylindrical geometry.
Planar geometry.
Base class for physical geometry.
Spherical geometry.
virtual double calcArea(double radius) const =0
Calculates the area.
virtual double calcVolume(double radius) const =0
Calculates the volume.