Cylindrical symmetry. More...
#include <physical_geometry.hpp>
Public Member Functions | |
CylindricalSymmetry (const Vector2D &origin, const Vector2D &direction) | |
Class constructor. More... | |
double | calcArea (const Edge &edge) const |
Calculates the physical area of an edge. More... | |
double | calcVolume (const vector< Edge > &edge_list) const |
Calculates the physical volume of a cell. More... | |
double | calcVolume (const vector< Vector2D > &chull) const |
Calculates the physical volume of a cell. More... | |
Vector2D | calcCentroid (const vector< Vector2D > &chull) const |
Calculates the centroid of a cell. More... | |
const Axis & | getAxis (void) const |
Returns the axis of revolution. More... | |
Cylindrical symmetry.
Definition at line 87 of file physical_geometry.hpp.
Class constructor.
origin | Origin of the axis of rotation |
direction | Positive direction of rotation axis |
Definition at line 63 of file physical_geometry.cpp.
|
virtual |
Calculates the physical area of an edge.
edge | Cell edge |
Implements PhysicalGeometry.
Definition at line 66 of file physical_geometry.cpp.
Calculates the centroid of a cell.
chull | The convex hull of the cell |
Implements PhysicalGeometry.
Definition at line 106 of file physical_geometry.cpp.
|
virtual |
Calculates the physical volume of a cell.
edge_list | List of edges that bound the cell |
Implements PhysicalGeometry.
Definition at line 94 of file physical_geometry.cpp.
|
virtual |
Calculates the physical volume of a cell.
chull | The convex hull of the cell |
Implements PhysicalGeometry.
Definition at line 129 of file physical_geometry.cpp.
const Axis & CylindricalSymmetry::getAxis | ( | void | ) | const |
Returns the axis of revolution.
Definition at line 141 of file physical_geometry.cpp.