2 #define _USE_MATH_DEFINES 7 PhysicalGeometry1D::~PhysicalGeometry1D(
void) {}
30 return M_PI*pow(radius,2);
37 return 4*M_PI*pow(radius,2);
42 return (4./3.)*M_PI*pow(radius,3);
SlabSymmetry1D(void)
Class constructor.
CylindricalSymmetry1D(void)
Class constructor.
SphericalSymmetry1D(void)
Class constructor.
double calcVolume(double radius) const
Calculates the volume.
double calcArea(double radius) const
Calculates the area.
double calcVolume(double radius) const
Calculates the volume.
double calcArea(double radius) const
Calculates the area.
double calcArea(double radius) const
Calculates the area.
Physical geometry of the grid.
double calcVolume(double radius) const
Calculates the volume.