Public Member Functions | List of all members
PhysicalGeometry Class Referenceabstract

Base class for physical geometry. More...

#include <physical_geometry.hpp>

Inheritance diagram for PhysicalGeometry:
Inheritance graph
[legend]

Public Member Functions

virtual double calcArea (const Edge &edge) const =0
 Calculates the physical area of an edge. More...
 
virtual double calcVolume (const vector< Edge > &edge_list) const =0
 Calculates the physical volume of a cell. More...
 
virtual double calcVolume (const vector< Vector2D > &chull) const =0
 Calculates the physical volume of a cell. More...
 
virtual Vector2D calcCentroid (const vector< Vector2D > &chull) const =0
 Calculates the centroid of a cell. More...
 

Detailed Description

Base class for physical geometry.

Definition at line 19 of file physical_geometry.hpp.

Member Function Documentation

◆ calcArea()

virtual double PhysicalGeometry::calcArea ( const Edge edge) const
pure virtual

Calculates the physical area of an edge.

Parameters
edgeCell edge
Returns
Area of the edge

Implemented in CylindricalSymmetry, and SlabSymmetry.

◆ calcCentroid()

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

Calculates the centroid of a cell.

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

Implemented in CylindricalSymmetry, and SlabSymmetry.

◆ calcVolume() [1/2]

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

Calculates the physical volume of a cell.

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

Implemented in CylindricalSymmetry, and SlabSymmetry.

Here is the caller graph for this function:

◆ calcVolume() [2/2]

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

Calculates the physical volume of a cell.

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

Implemented in CylindricalSymmetry, and SlabSymmetry.


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