Public Member Functions | List of all members
CylindricalSymmetry Class Reference

Cylindrical symmetry. More...

#include <physical_geometry.hpp>

Inheritance diagram for CylindricalSymmetry:
Inheritance graph
[legend]
Collaboration diagram for CylindricalSymmetry:
Collaboration graph
[legend]

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 AxisgetAxis (void) const
 Returns the axis of revolution. More...
 

Detailed Description

Cylindrical symmetry.

Definition at line 87 of file physical_geometry.hpp.

Constructor & Destructor Documentation

◆ CylindricalSymmetry()

CylindricalSymmetry::CylindricalSymmetry ( const Vector2D origin,
const Vector2D direction 
)

Class constructor.

Parameters
originOrigin of the axis of rotation
directionPositive direction of rotation axis

Definition at line 63 of file physical_geometry.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ calcArea()

double CylindricalSymmetry::calcArea ( const Edge edge) const
virtual

Calculates the physical area of an edge.

Parameters
edgeCell edge
Returns
Area of the edge

Implements PhysicalGeometry.

Definition at line 66 of file physical_geometry.cpp.

Here is the call graph for this function:

◆ calcCentroid()

Vector2D CylindricalSymmetry::calcCentroid ( const vector< Vector2D > &  chull) const
virtual

Calculates the centroid of a cell.

Parameters
chullThe convex hull of the cell
Returns
centroid of the cell

Implements PhysicalGeometry.

Definition at line 106 of file physical_geometry.cpp.

Here is the call graph for this function:

◆ calcVolume() [1/2]

double CylindricalSymmetry::calcVolume ( const vector< Edge > &  edge_list) const
virtual

Calculates the physical volume of a cell.

Parameters
edge_listList of edges that bound the cell
Returns
volume of the cell

Implements PhysicalGeometry.

Definition at line 94 of file physical_geometry.cpp.

◆ calcVolume() [2/2]

double CylindricalSymmetry::calcVolume ( const vector< Vector2D > &  chull) const
virtual

Calculates the physical volume of a cell.

Parameters
chullThe convex hull of the cell
Returns
volume of the cell

Implements PhysicalGeometry.

Definition at line 129 of file physical_geometry.cpp.

◆ getAxis()

const Axis & CylindricalSymmetry::getAxis ( void  ) const

Returns the axis of revolution.

Returns
Axis of revolution

Definition at line 141 of file physical_geometry.cpp.


The documentation for this class was generated from the following files: